Chad Kline wrote:
fbsd 4.7
SCRIPT
---
echo 1:$1
echo 2:$2
---
COMMAND LINE
---
. ./script x y
---
OUTPUT
---
1:
2:
---
shouldn't the output be:
1:x
2:y
Being able to specify command line arguments to the script being sourced
is a Korn shell extension that has been
In the last episode (Jan 14), Chad Kline said:
fbsd 4.7
SCRIPT
---
echo 1:$1
echo 2:$2
---
COMMAND LINE
---
. ./script x y
---
OUTPUT
---
1:
2:
---
shouldn't the output be:
1:x
2:y
Not sure. The sh defined at opengroup.org doesn't even have a dot
command. In FreeBSD's