Search Results

Search: Posts Made By: satishrao
1,153
Posted By Yoda
A BEGIN rule is invoked even before the first...
A BEGIN rule is invoked even before the first record in a file is read. So never put any code over there which deals with input file records:
awk '
{
if ( A[$1] < $2 )
...
1,121
Posted By Yoda
awk '{sub(/:[0-9]* /,FS)}1' file sed...
awk '{sub(/:[0-9]* /,FS)}1' file

sed 's#:[0-9]* # #' file
Showing results 1 to 2 of 2

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