![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| filtering the logs | prvnrk | Shell Programming and Scripting | 5 | 04-08-2008 10:57 PM |
| awk and sed filtering | invinzin21 | Shell Programming and Scripting | 2 | 01-11-2008 03:56 AM |
| Filtering Data | bobo | UNIX for Dummies Questions & Answers | 2 | 09-19-2007 04:06 PM |
| awk filtering ? | varungupta | UNIX for Advanced & Expert Users | 4 | 09-17-2007 03:55 AM |
| Filtering out data ... | videsh77 | UNIX for Dummies Questions & Answers | 1 | 12-29-2004 04:59 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Filtering Data
Hi All,
I have the below input and expected ouput. I need a code which can scan through this input file and if the number in column1 is more than 1 , it will print out the whole line, else it will output "No Re-occurrence". Can anybody help ? Input: 1 vvvvv 20 7 7 23 0 64 6 zzzzzz 11 5 5 13 0 1 1 uuuuu 17 0 0 24 0 146 5 qqqqq 7 3 3 11 0 199 1 ggggg 11 5 5 13 0 13 1 yyyyy 13 7 7 31 0 252 Expected Output: 6 zzzzzz 11 5 5 13 0 1 5 qqqqq 7 3 3 11 0 199 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|