if u want to take arguments from command line check this out:
How to use more that 9 Arguments? No Problem!#!/bin/sh
CalledByName=$0
Arg1=$1;
Arg2=$2;
Arg3=$3;
...
Arg9=$9;
#ARG10=$10 ## that's don't work!
Did i answer your Question?Arg1=$1; shift;
Arg2=$1; shift;
Arg3=$1; shift;
...
Arg10=$1; shift;
...



Reply With Quote

