Package: file
Version: 4.26-1
$ file no-file
no-file: ERROR: cannot open `no-file' (No such file or directory)
$ a=$(file no-file) ; echo a: "$a"
a: no-file: ERROR: cannot open `no-file' (No such file or directory)
$
I believe that `file' should report errors to stderr, since it's
both what the other utilities do, and will prevent the error
messages from being lost into the shell scripts' internals.
--
FSF associate member #7257
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]