Search Results

Search: Posts Made By: Chirel
1,057
Posted By rangarasan
awk
Hi,

Try this one,
Shorter version of untested code,

awk '/^[0-9]/ {a[$2]=a[$2]+1;b[$2" "$3]=b[$2" "$3]+1;}END{print"Company Count A B"; for(i in a){printf("%-10s %5d...
3,593
Posted By Corona688
Use a here-document like <<"EOF", which will not...
Use a here-document like <<"EOF", which will not evaluate the contents locally.
5,409
Posted By alister
That regular expression won't work as desired...
That regular expression won't work as desired even in GNU sed. *? in that regular expression is intended to be a non-greedy match. GNU sed regular expressions (basic and extended) do not support that...
Showing results 1 to 3 of 3

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