Search Results

Search: Posts Made By: tarun_agrawal
1,573
Posted By tarun_agrawal
try with AWK... echo ",1 ,2 ,3 ,4" | ...
try with AWK...
echo ",1
,2
,3
,4" | awk '{for(i=1;i<=NF;i++){print $i}}' FS="\n" RS="" ORS=""

with SED
echo "
,1
,2
,3" | sed -n '
$ !{
H
}
$ {
H
x;s/\n//g
p
}'
Showing results 1 to 1 of 1

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