Hello,
I have a (KSH) script taht interprets different input squences and processes them. The first of which is a CSV so I have set IFS to , with:
IFS=,
Now later in my script I am reading input in from a grep command and would liek to |read var1 var2 var3 ....
How do I set my IFS back to spaces. Here is what I have tried thus far:
IFS=
IFS=""
IFS=" "
IFS=''
IFS=' "
Any help would be greatly appreciated.
Mike
I have a (KSH) script taht interprets different input squences and processes them. The first of which is a CSV so I have set IFS to , with:
IFS=,
Now later in my script I am reading input in from a grep command and would liek to |read var1 var2 var3 ....
How do I set my IFS back to spaces. Here is what I have tried thus far:
IFS=
IFS=""
IFS=" "
IFS=''
IFS=' "
Any help would be greatly appreciated.
Mike