I just found this: $ ls -l /bin/sh lrwxrwxrwx 1 root root 4 2009-06-10 16:51 /bin/sh -> dash
On another system sh -> bash, so that I just assumed... what is dash, he asks, and wonders if it bears on this issue. ---------- Forwarded message ---------- From: Denis Heidtmann <[email protected]> Date: Fri, Apr 2, 2010 at 11:44 AM Subject: bash question To: "General Linux/UNIX discussion and help, civil and on-topic" < [email protected]> I have a very simple bash script which wants an argument. I would like to source it. I find that if I source it from another script using its relative path it works fine--the argument is received. If I source it using its full path no argument is received. A simple test is: script1.sh: #! /bin/sh echo "Argument = $@" script2.sh: #!/bin/sh . <full path>/script1.sh full . <relative path>/script1.sh relative The result show no argument received in the full case. Ideas? _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
