![]() |
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 |
| Question About Getting Line Numbers in a File | SkySmart | UNIX for Dummies Questions & Answers | 4 | 08-20-2008 10:12 AM |
| need couple of ksh tricks please | JamesByars | Shell Programming and Scripting | 4 | 02-23-2008 03:07 PM |
| Question about adding numbers in unix | dynastie | UNIX for Dummies Questions & Answers | 1 | 06-15-2006 04:26 PM |
| everthing is a file | Loodgieter | UNIX for Dummies Questions & Answers | 2 | 10-27-2003 02:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sed-question delete everthing after a couple of numbers
Hi,
I've a textfile with a lots of numbers. After some numbers are comments. I want delete these comments with sed, but dont know the correct pattern. for example (my textfile): PHP Code:
correct ouput: PHP Code:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|