pipe to return statement yields SEGV

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

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

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

Re: current input line lost on ^Z

2006-06-08 Thread Chet Ramey
Dan Jacobson wrote: > Perhaps bad? > $ cat > p > bb > ccc^Z > $ something_else > $ fg > zzz > ^D > $ cat pr > bb > zzz > > "I was not finished composing line ccc when I had to do > something_else. Now I have to remember what I was typing to type line > c