![]() |
|
|
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 |
| Paste command issue | Shahul | Shell Programming and Scripting | 2 | 08-11-2008 10:07 AM |
| Need a Help with paste 2 files since the output is not what i want | alexcol | Shell Programming and Scripting | 3 | 01-09-2007 04:47 AM |
| Question on Paste command | mudhireddy | UNIX for Dummies Questions & Answers | 4 | 12-13-2006 11:51 AM |
| How to underline/bold and how to align output | clara | UNIX for Dummies Questions & Answers | 1 | 06-16-2005 01:41 PM |
| paste command | mariner | UNIX for Advanced & Expert Users | 5 | 03-04-2005 02:42 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I'm trying to "paste" two files but the result is not aligned.
File1 looks like this: dog.csv cat.csv elephant.csv cougar.csv File2 looks like this: 2323 33 444 545545 Then I run a paste command: paste File1 File2 > result.cnt Then result.cnt file is created like this: dog.csv 2323 cat.csv 33 elephant.csv 4444 cougar.csv 545545 but I want my result to be as something like the following dog.csv..........2323 cat.csv..........33 elephant.csv...4444 cougar.csv.....545554 (Please take the dots (...) as spaces, I put them because the original post was ignoring the spaces) So at the end I need the second column (numbers) to start at the same position. Please advise!. ![]() Last edited by jplayermx; 09-05-2008 at 02:26 PM.. Reason: my results was not published correctly |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|