質問

file <(echo "abcdefghijk")

It would be really cool if this could print something like "ASCII text", i.e. that file won't just give up and tell me it's a fifo.

役に立ちましたか?

解決

Then mislead him:

$ echo "abcdefghijk" | file -
/dev/stdin: ASCII text
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top