Path: utzoo!utgpu!watserv1!watcgl!andrewt From: andrewt@watnow.waterloo.edu (Andrew Thomas) Newsgroups: gnu.bash.bug Subject: Stuff running in subshells can be annoying Message-ID: Date: 8 Jan 90 14:11:38 GMT Sender: daemon@watcgl.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 18 I have a simple function: function restart () { eval `jobs | fgprg $1` } which used to work in bash 1.03. It seems now that stuff in `` or $() gets run in a subshell in 1.04 where there aren't really any jobs. Is this fixable? Am I sadly out to lunch on this diagnosis? :-) -- Andrew Thomas andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo "If a million people do a stupid thing, it's still a stupid thing." - Opus