![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Appending text to a number of similar filenames | Djaunl | UNIX for Dummies Questions & Answers | 4 | 10-09-2007 08:16 PM |
| Remove Similar Lines from a File | Nysif Steve | Shell Programming and Scripting | 3 | 09-04-2007 07:20 AM |
| counting the number of lines | nayeemmz | Linux | 6 | 01-19-2005 09:37 AM |
| Counting the number of lines in ASCII file | alarmcall | Shell Programming and Scripting | 8 | 08-26-2003 03:53 PM |
| Counting The Number Of Duplicate Lines In a File | crunchtime | UNIX for Dummies Questions & Answers | 2 | 07-04-2003 10:24 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
|||
|
|||
|
this should have been in a new thread.
Mods - could you please make this as a new thread |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Code:
sed 's/E/ E/' file | awk '{
sum[$2]++
}
END{
for (i in sum)
print "OMAK EXCLUDE "i" "sum[i]" "1341
}'
|
|||
| Google The UNIX and Linux Forums |