Search Results

Search: Posts Made By: ajahuja
19,650
Posted By Scrutinizer
Yes, I guess it may appear a bit cryptic.. ...
Yes, I guess it may appear a bit cryptic..

It uses a double quote as input and output record selector (RS=\" ORS=\"). So any record is either inside or outside double quotes. The mod of the line...
19,650
Posted By Scrutinizer
Try: /usr/xpg4/bin/awk '(NR-1)%2{$1=$1}1' RS=\"...
Try:
/usr/xpg4/bin/awk '(NR-1)%2{$1=$1}1' RS=\" ORS=\" infile
Showing results 1 to 2 of 2

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