![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference between plain "uniq" and "uniq -u" | monkfan | UNIX for Dummies Questions & Answers | 3 | 12-28-2008 07:44 AM |
| using uniq and awk?? | amatuer_lee_3 | Shell Programming and Scripting | 13 | 05-17-2008 02:10 PM |
| uniq options | dhanamurthy | Shell Programming and Scripting | 0 | 05-08-2008 09:08 AM |
| help on UniQ | vishal_ranjan | HP-UX | 0 | 06-21-2007 11:33 AM |
| sort/uniq | jimmyflip | UNIX for Dummies Questions & Answers | 3 | 10-17-2002 06:09 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Help with uniq or awk??
Hi, my dilemna is this:
example i got a file of fruit.txt which contains: Apple 6 Apple_new 7 old_orange 9 orange 10 Is there any way for me to have an output of Apple 13 Orange 19 using shell script: If its duplicate names, it should have been alright but I'm lost as to what can I do in this scenario. Any help is greatly appreciated. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|