[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Understanding read -r
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] Understanding read -r |
Date: |
Fri, 5 Oct 2012 09:10:23 -0400 |
User-agent: |
Mutt/1.4.2.3i |
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.