Re: Syntax error with background jobs in loops

2006-06-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Toby Kelsey on 6/8/2006 4:34 AM: > for i in 31 31 32; do sleep $i & done > > (note the last one should give a syntax error since it violates the > for-loop > syntax "for name [ in word ] ; do list ; done", but instead it works) Actuall

Syntax error with background jobs in loops

2006-06-08 Thread Toby Kelsey
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='b