Just try:

#!/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

I get:

scones% ./y.sh
COPYRIGHT               etc                     share
CVS                     games                   sys
Makefile                gnu                     tools
Makefile.inc0           include                 update.out
Makefile.inc1           kerberosIV              usr.bin
Makefile.upgrade        lib                     usr.sbin
README                  libexec                 x.out
UPDATING                make.out                x.sh
bin                     mkrelease               y.sh
contrib                 release                 y.sh~
crypto                  sbin
diff.out                secure
./y.sh: ls: not found

I somehow think it has something to do with the size of the new PATH
variable...

-- 
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