![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script required to get a required info from file. Pls. help me. | ntgobinath | Shell Programming and Scripting | 2 | 05-31-2008 09:34 AM |
| Shell program:Help required on file formating | udiptya | UNIX for Dummies Questions & Answers | 6 | 02-04-2008 05:10 AM |
| formating array file output using perl | seismic_willy | Shell Programming and Scripting | 4 | 03-22-2007 02:23 AM |
| Formating mailx text file for Lotus Notes users | lidoiwo | Forum Support Area for Unregistered Users & Account Problems | 0 | 10-29-2005 12:45 PM |
| Formating text from a script into a log file | hugow | UNIX for Dummies Questions & Answers | 1 | 06-30-2005 05:01 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have two files file1 and file2 as shown below:
file1: name nameabc bcd nameabcdefg file2: age age1111 age2345 age6743 I have pasted one file on the other with the delimiter "|" and the resulttant file is: name|age nameabc|age1111 bcd|age2345 nameabcdefg|age6743 but I want it to be formatted like this: name |age nameabc |age1111 bcd |age2345 nameabcdefg |age6743 I tried it with "\t" but since the length of name can vary the number of tabs is not constant. Can anybody give a solution to this? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|