echo foo > a b does not error

2011-05-12 Thread Petteri Räty
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: i686-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/loc

Re: echo foo > a b does not error

2011-05-12 Thread Greg Wooledge
On Thu, May 12, 2011 at 03:13:51PM +0300, Petteri Räty wrote: > Repeat-By: > betelgeuse@pena ~/test $ echo foo > a b This one is not an error; it simply does not mean what you think it means. The following commands are all equivalent: echo foo > a b echo > a foo b > a echo foo b echo foo b

Re: echo foo > a b does not error

2011-05-12 Thread Andreas Schwab
Petteri RXXty writes: > betelgeuse@pena ~/test $ echo foo > a b This is the same as: echo foo b > a Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: echo foo > a b does not error

2011-05-12 Thread Petteri Räty
On 05/12/2011 03:35 PM, Andreas Schwab wrote: > Petteri RXXty writes: > >> betelgeuse@pena ~/test $ echo foo > a b > > This is the same as: echo foo b > a > > Andreas. > Sorry about the noise. With that hint found out the relevant documentation. Petteri signature.asc Description: Ope