Search Results

Search: Posts Made By: Sephiburp
5,959
Posted By Scrutinizer
Hi, 1 effectuates "print record". A value of 1...
Hi, 1 effectuates "print record". A value of 1 outside the brackets makes awk invoke the default action, which is {print $0}.

Strange I cannot reproduce this effect. I get:
...
5,959
Posted By Scrutinizer
See if awk works for you: awk -F\)...
See if awk works for you:
awk -F\) '{gsub(/,/,"|",$1)}1' RS=\( ORS=\( OFS=\)


\b is not standard sed, but GNU sed only
Showing results 1 to 2 of 2

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