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:[EMAIL PROTECTED]
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to