![]() |
|
|
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 |
| deleting blank space in beginning of line in vi | Pouchie1 | SUN Solaris | 2 | 09-21-2009 09:36 PM |
| Replace two blank line with a single blank line | mac4rfree | Shell Programming and Scripting | 9 | 09-15-2009 09:02 AM |
| grep multiple words in a single line | anduzzi | Shell Programming and Scripting | 11 | 06-25-2009 12:39 PM |
| Deleting the blank line in a file and counting the characters.... | rkumar28 | Shell Programming and Scripting | 4 | 04-17-2005 01:13 PM |
| cant find command that returns blank line | jeffersno1 | UNIX for Dummies Questions & Answers | 2 | 11-15-2001 04:14 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
deleting blank line and row containing certain words in single sed command
Hi
Is it possible to do the following in a single command Code:
/usr/xpg4/bin/sed -e '/rows selected/d' /aemu/CALLAUTO/callauto.txt > /aemu/CALLAUTO/callautonew.txt /usr/xpg4/bin/sed -e '/^$/d' /aemu/CALLAUTO/callautonew.txt > /aemu/CALLAUTO/callauto_new.txt exit Last edited by aemunathan; 3 Weeks Ago at 07:19 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|