On Thu, Oct 04, 2012 at 07:00:29PM -0500, Dan Douglas wrote:
> Oh it applies to builtins opening the file passed as an argument too? I
> thought it was only special redirection syntax (like in this case). If that's
> true I might use the tee loadable more frequently.
Nope:
imadev:/var/tmp/bash/bash-4.2/examples/loadables$ finfo /dev/stdin
bash: finfo: /dev/stdin: cannot stat: No such file or directory
As stated in the man page, /dev/stdin only works when used as the word
following a redirection operator.