Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnews!cbnewsl!cbnewsm!cbnewsk!jfv From: jfv@cbnewsk.att.com (j.f.van valkenburg) Newsgroups: comp.unix.shell Subject: Re: why does sh do this Summary: Try export IFS Keywords: sh, IFS Message-ID: <1991Jun5.125905.14870@cbnewsk.att.com> Date: 5 Jun 91 12:59:05 GMT References: <1991Jun4.074041.5300@cs.uow.edu.au> Organization: AT&T Bell Laboratories Lines: 16 I didn't see if you exported the env variable IFS? This would account for the two results, the first one the IFS set but not exported and in the second it was local to the shell script. ------------------------ James F. Van Valkenburg a.k.a. "van" AT&T Attmail: !jfv jfv@cbnewsk.att.com Atlanta, GA. Voice 404-810-7920 =============================================================================== ---- Standard Disclaimers included -- Just another grunt at AT&T ---- ===============================================================================