Search Results

Search: Posts Made By: snoogie
2,287
Posted By aix-guy
Here is another way #!/bin/bash ...
Here is another way

#!/bin/bash

out=`echo $1 |awk -F";" '{printf("%s;%s;%s;%s;\"%s\"\n",$1,$2,$3,$4,$5)}'`
echo "$out"
2,287
Posted By Corona688
OLDIFS="$IFS" ; IFS=";" set -- $1 ...
OLDIFS="$IFS" ; IFS=";"
set -- $1
IFS="$OLDIFS"

echo "$1;$2;$3;$4;\"$5\""
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy