![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cutting specific lines from a file | pathanjalireddy | Shell Programming and Scripting | 15 | 06-04-2009 01:32 AM |
| need help cutting consecutive lines with sed or awk | raghin | Shell Programming and Scripting | 2 | 06-04-2008 04:59 AM |
| grab next consecutive line or lines | wisher115 | Shell Programming and Scripting | 1 | 12-07-2006 08:01 AM |
| Appending Consecutive lines | pondlife | Shell Programming and Scripting | 8 | 08-13-2004 05:36 AM |
| Cutting lines out using sed I presume. | cfoxwell | UNIX for Dummies Questions & Answers | 5 | 01-08-2002 12:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Cutting n consecutive lines from a file...
Hi,
I have this problem of separating 10 consecutive lines from a file, say starting from 21 to 30... I have used a filter like this.. head -n 30 myfile | tail -n 10 Is there a simpler way than this? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|