![]() |
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 |
| duplicate rows in a file | infyanurag | Shell Programming and Scripting | 3 | 05-22-2008 01:39 AM |
| How to handle multiple rows in a file | ksmbabu | Shell Programming and Scripting | 2 | 05-15-2008 01:44 AM |
| Delete repeated rows from a file | tonet | Shell Programming and Scripting | 8 | 04-08-2008 10:42 AM |
| How to append a Value to all the rows in a file | dsshishya | Shell Programming and Scripting | 2 | 03-20-2008 05:04 PM |
| alternate rows of a file | dr46014 | Shell Programming and Scripting | 3 | 08-25-2007 07:16 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi
I have a file having 1000 rows. Now I would like to remove 10 rows from it. Plz give me the script. Eg: input file like 4 1 4500.0 1 5 1 1.0 30 6 1 1.0 4500 7 1 4.0 730 7 2 500000.0 730 8 1 785460.0 45 8 7 94255.0 30 9 1 31800.0 30 9 4 36000.0 30 10 1 15000.0 30 11 1 100000.0 30 12 1 20000.0 2 12 2 10000.0 30 12 3 5000.0 20 now we have to delete following rows 8 7 94255.0 30 12 2 10000.0 30 8 1 785460.0 45 12 3 5000.0 20 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|