the whole lines instead of space separated fields use the below
at the begining and at the end of your shell script:
export OFS="$IFS" ; export IFS=$'\n';
[ SHELL SCRIPT HERE THAT WORKS on WHOLE LINES ]
export IFS="$OFS"
export OFS="$IFS" ; export IFS=$'\n';
[ SHELL SCRIPT HERE THAT WORKS on WHOLE LINES ]
export IFS="$OFS"
No comments:
Post a Comment