Hi Al!
you wrote:

> On Wed, Jan 12, 2000 at 10:54:27PM +0100, Mario Frasca wrote:
> > as if no parameters are ever passed to the script.  is there some hidden trick?
> How are you attempting this?

well, I found the problem from init and my /etc/inittab but there is a much easier
way:

$ ls -l .
-rwxr-xr-x  1 mario    users          27  Jan 14 20:41 test
$ cat test
#!/bin/sh
echo \"$1\"
echo \"$2\"
$ ./test a b c
""
""
$
(by the way, I see a bug in ls: `ls -l test' doesn't see that `test' isn't a
directory)

in `real Linux', the output is obviously
"a"
"b"

I did not look at it at all yet: I'm working on a version of mount/umount that makes
use of /etc/fstab and /etc/mtab.  I already have some sort of prototypes, but I do
need a few more hours.

Mario.


Reply via email to