Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!attila.esa.oz.au!robi From: robi@attila.esa.oz.au (RoBeRt KaRp) Newsgroups: gnu.bash.bug Subject: functions in the background Message-ID: <8910050227.4536@munnari.oz.au> Date: 5 Oct 89 01:16:29 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 I have the following function: ecr () { local s=$1; shift; enscript -2r -fCourier${s} -P${LASER} $@ } when I type ecr 4 foo & I get a segmentation fault, however, if I leave off the & at the end, it is ok. - Robi -- Robert Karp :- robi@attila.esa.oz.AU -: // ///// {uunet,mcvax,ukc,nttlab}!munnari!attila.esa.oz!robi // ///// Snail: 15-17 Paraween Street,Cremorne, NSW 2090 \\ XX\XXX// Tel : (+61) (02) 953 9488 \X/\XXXX/