I have a k shell scripting issue. I have arguments to a program as given below.
first second "third argument"
I need to separate them into first, second and "third argument". Can anyone suggest to do the same??
When I use the for construct as below
for file in "$*"; do
....
....
done
I get first, second, third and argument.
Any help or pointers will be appreciated.
Philipose
first second "third argument"
I need to separate them into first, second and "third argument". Can anyone suggest to do the same??
When I use the for construct as below
for file in "$*"; do
....
....
done
I get first, second, third and argument.
Any help or pointers will be appreciated.
Philipose