Date: Tue, 14 Dec 1999 15:39:26 +0100 From: Marcel Moolenaar <marcel@scc.nl> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: current@FreeBSD.ORG Subject: Re: Broken sh(1): A more specific example Message-ID: <3856569E.B665230D@scc.nl> References: <46419.945180005@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sheldon Hearn wrote: > > On Tue, 14 Dec 1999 14:48:51 +0100, Marcel Moolenaar wrote: > > > #!/bin/sh > > PATH=/usr/obj/usr/src/i386/bin:/usr/obj/usr/src/i386/usr/bin:\ > > /usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:\ > > /usr/games:/usr/local/bin:/usr/X11R6/bin:/home/marcel/bin ls > > ls > > What do you think the shell should be doing with this malformed path? I assume you all understand that this was a simple invocation of PATH=something ls. You all heard of line-continuation didn't you? Anyway, try this: scones% sh % PATH=/foobar:$PATH ls <some output> % ls ls: not found -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3856569E.B665230D>