![]() |
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 |
| Validation of character separated lines in a file | kolesunil | UNIX for Dummies Questions & Answers | 3 | 05-27-2008 06:48 AM |
| Can I use sed to insert a string which has colon | Jenny.palmy | UNIX for Dummies Questions & Answers | 2 | 04-28-2008 07:04 PM |
| Multiple field separators in awk? (First a space, then a colon) | doubleminus | UNIX for Dummies Questions & Answers | 3 | 04-27-2008 03:28 PM |
| Separate lines in a single '|' separated line | hidnana | Shell Programming and Scripting | 3 | 03-17-2008 10:16 AM |
| Splitting comma separated values into an array | tmarikle | Shell Programming and Scripting | 3 | 06-24-2005 05:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
two lines into one colon separated line...
Does anyone know how to get these two output lines into one colon ':' separated line with some unix command? Maybe nawk. I've tried to read the nawk and awk man pages but I don't get it right. Are these commands the one to use?
Output from find command: # /sw/tools/matlab/7.0.1/man /sw/tools/gnat/5.01a/man # I would like to get it like this: /sw/tools/matlab/7.0.1/man:/sw/tools/gnat/5.01a/man Is awk the command to pipe the output to, and if so, how can I solve this? Thanks to You that replys... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|