![]() |
|
|
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 |
| facing problem in getting output on single line | junaid.nehvi | Shell Programming and Scripting | 3 | 08-02-2008 02:14 PM |
| single line input to multiple line output with sed | mitch | Shell Programming and Scripting | 8 | 07-16-2008 02:57 PM |
| ls command output in single line | arsheshadri | AIX | 7 | 04-28-2008 03:50 PM |
| Multi-line output to single line | LinuxRacr | Shell Programming and Scripting | 7 | 02-26-2008 10:05 AM |
| Need output in different lines not in one single line | csaha | Shell Programming and Scripting | 1 | 02-08-2006 08:28 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to print the output in single line
Hi,
Please suggest, how to get the output of below script in single line, its giving me in different lines ______________________ #!/bin/ksh export Path="/abc/def/ghi"; Home="/home/psingh/prat"; cd $Path; find $Path -name "*.C#*" -newer "abc.C#1234" -print > $Home cat $Home | while read line do cat $line | awk '/Subject/ {print}' | cut -c 1-35 cat $line | awk '/Date/ {print}' | cut -c 68-120 done _---------------------- Thank you |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|