[BusyBox] lash KEY=VALUE
Andreas Neuhaus
andy at fasta.fh-dortmund.de
Fri Mar 16 01:53:08 UTC 2001
again a lash issue (sorry larry ;-):
/ # FOO=bar ls
-sh: FOO=bar: No such file or directory
/ #
/ # cat asdf
#!/bin/sh
FOO=bar
echo "Hello $FOO"
/ #
/ # ./asdf
-sh: FOO=bar: No such file or directory
hello
/ #
is it a bug or a missing feature? do i always have to use export when using
variables in shell scripts?
regards,
andreas neuhaus
--
Life could be so much easier if we could just look at the source code...
.~.
/V\ Andreas Neuhaus, FaStA Informatik FH-Dortmund
// \\ Sonnenstr. 96, D-44139 Dortmund, Tel 0231/9112-734
/( )\ System-Administration FaStA FH-Dortmund
^^-^^
LINUX - Don't fear the penguin
More information about the busybox
mailing list