![]() |
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 |
| Split large file and add header and footer to each file | ashish4422 | Shell Programming and Scripting | 1 | 04-15-2008 06:12 AM |
| Split a file with no pattern -- Split, Csplit, Awk | madhunk | UNIX for Dummies Questions & Answers | 10 | 12-17-2007 12:57 PM |
| How to remove only html tags inside a file? | btech_raju | Linux | 2 | 11-23-2007 12:25 PM |
| Deleting lines inside a file without opening the file | toms | Shell Programming and Scripting | 3 | 09-24-2007 07:58 AM |
| How to search a pattern inside a zipped file ie (.gz file) with out unzipping it | senraj01 | Shell Programming and Scripting | 2 | 04-26-2006 04:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How can I split the file by the tags that are inside the file???
Not too sure how to use cut and/or awk to do this. Thanks spooky file.txt ------ <filename>output.txt</filename> Line 1 of 5 <filename>output1.txt</filename> Line 2 of 5 Line 3 of 5 <filename>output2.txt</filename> Line 4 of 5 Line 5 of 5 has created 3 files with there relevant data. I.e. ; output.txt ---------- Line 1 of 5 output1.txt ----------- Line 2 of 5 Line 3 of 5 output2.txt ----------- Line 4 of 5 Line 5 of 5 |
|
|||||
|
Here is a similar thread, modify code available as per your needs.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|