From owner-freebsd-bugs Sat Feb 22 19:33:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA12778 for bugs-outgoing; Sat, 22 Feb 1997 19:33:52 -0800 (PST) Received: from hydrogen.nike.efn.org (metriclient-2.uoregon.edu [128.223.172.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA12746; Sat, 22 Feb 1997 19:33:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hydrogen.nike.efn.org (8.8.4/8.8.4) with SMTP id TAA15445; Sat, 22 Feb 1997 19:33:28 -0800 (PST) Date: Sat, 22 Feb 1997 19:33:27 -0800 (PST) From: John-Mark Gurney Reply-To: John-Mark Gurney To: Mike Pritchard cc: freebsd-bugs@freefall.freebsd.org Subject: Re: bin/2803: /bin/sh 'for' statement vs IFS setting problem In-Reply-To: <199702230300.TAA10336@freefall.freebsd.org> Message-ID: X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 22 Feb 1997, Mike Pritchard wrote: > For the record, under 3.0, every shell I tried, ksh, sh and bash > all work this way. Does this work the same way on other operating > systems? E.g. Sunos/Solaris, or some other SYSv variety? on SunOS 5.5, bash and ksh behaves the same as FreeBSD but /bin/sh prints a, b, and c on seperate lines... John-Mark gurney_j@efn.org http://resnet.uoregon.edu/~gurney_j/ Modem/FAX: (541) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)