Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 14:48:51 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        current@FreeBSD.org
Subject:   Broken sh(1): A more specific example
Message-ID:  <38564AC3.B7ADD3AE@scc.nl>

next in thread | raw e-mail | index | archive | help
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: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?38564AC3.B7ADD3AE>