On 10/12/2011 02:07 PM, Greg Wooledge wrote:
Even using a space is not sufficient to force a valid file descriptor number
to be treated as a filename:

imadev:~$ foo>&  1
stdout
stderr
imadev:~$ ls -l 1
1 not found

If you want 'word' treated as a filename, then express it as a filename. It's still possible to write to a file named '1':

foo >&./1

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to