Date: Fri, 15 May 1998 10:33:21 -0400 (EDT) From: woods@zeus.leitch.com (Greg A. Woods) To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6557: /bin/sh && IFS Message-ID: <199805151433.KAA27140@brain.zeus.leitch.com> In-Reply-To: Tor Egge's message of "Thu, May 14, 1998 23:35:01 %2B0200" regarding "Re: bin/6557: /bin/sh && IFS" id <199805142135.XAA01626@pat.idi.ntnu.no> References: <199805130900.CAA03452@freefall.freebsd.org> <199805142135.XAA01626@pat.idi.ntnu.no>
next in thread | previous in thread | raw e-mail | index | archive | help
[ On Thu, May 14, 1998 at 23:35:01 (+0200), Tor Egge wrote: ] > Subject: Re: bin/6557: /bin/sh && IFS > > IMO, the correct output is > > val: 'foo bla fasel blubb ' > > val: 'foo bla' > val: 'fasel' > val: 'blubb' > val: '' If P1003.2 Draft 11.2's wording on this survived the final updates (and The Single UNIX Specification, Version 2 seems to concur), the last field should *not* be generated. I do agree though that such behaviour would make it hard to do certain quite common things (such as emulate the shell's own behaviour with PATH in a shell script). -- Greg A. Woods +1 416 443-1734 VE3TCP <gwoods@acm.org> <robohack!woods> Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805151433.KAA27140>