Hi,
I know that simple way to do this is var=`echo $line | awk '{print $5}'`
But maybe there is shorter way to do this ?
Also maybe there is some way to assign all fileds from line separated by lets say ":" to some variables
instead of
var1=`echo $line | awk '{print $1}'`
var2=`echo $line | awk '{print $2}'`
.....
What are the main differences between zsh and ksh ? do you know some web page where i can read about those diffs.
I have some old version of ksh, and i'm not a SE and can't install new one.