![]() |
|
|
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 |
| Formatting a file. | abhilasha | UNIX for Dummies Questions & Answers | 1 | 01-14-2008 07:51 AM |
| Help with formatting of file. | divz | Shell Programming and Scripting | 3 | 09-07-2007 05:32 AM |
| get the timestamp of a file in desired format | sumeet | UNIX for Advanced & Expert Users | 1 | 03-08-2007 12:24 PM |
| Formatting the Log file | sharif | Shell Programming and Scripting | 5 | 02-24-2007 10:31 AM |
| Formatting a file | cstovall | Shell Programming and Scripting | 4 | 06-17-2006 04:10 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Formatting of file to an desired one
Hi,
I am trying to format an existing file to the desired format. Existing file : abc.txt 2332 |3322 |5534 |5436 |NULL | Desire file : QTD GROSS|2332 |3322 |5534 |5436 | echo "QTD GROSS|" > out.xt cat abc.txt | cut -c1-52 >> out.txt I even tried using tee command, but couldn't succeed. From above script i am getting it as : QTD GROSS| 2332 |3322 |5534 |5436 | Instead of QTD GROSS|2332 |3322 |5534 |5436 | Can you suggest me how to append the file contents as desired. Thanks, Praveen. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|