Search Results

Search: Posts Made By: asjaiswal
12,692
Posted By MadeInGermany
UUOC! Better directly mail the file: cmd = "<...
UUOC! Better directly mail the file:
cmd = "< input.txt mailx -s 'subject' " E[k]
or
cmd = "mailx -s 'subject' " E[k] " < input.txt"
12,692
Posted By Yoda
You could do the whole thing in one awk program: ...
You could do the whole thing in one awk program:
awk '
NR == FNR {
A[$1] += $3
next
}
{
E[$1] = $2
}
...
12,692
Posted By Scrutinizer
I don't understand what you are trying to...
I don't understand what you are trying to achieve, don't you mean a[$1]+=$3 instead of a[$1]++?
Showing results 1 to 3 of 3

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