Search Results

Search: Posts Made By: koeji
15,970
Posted By Franklin52
You can give this a try: awk -F\"...
You can give this a try:
awk -F\" '!(NF%2){s=$0;getline;$0=s OFS $0}1' file
15,970
Posted By pamu
Just add quotes to Don's solution.... awk...
Just add quotes to Don's solution....


awk '/^["]/{if(out != "") print out;out = $0;next}
{out = out" "$0}
END {if(out != "") print out}' input
15,970
Posted By Don Cragun
Try: awk '/^["]/{if(out != "") print out;out =...
Try:
awk '/^["]/{if(out != "") print out;out = $0;next}
{out = out $0}
END {if(out != "") print out}' input
Showing results 1 to 3 of 3

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