![]() |
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 |
| How to change the file modification time of a file on nfs mount point | deepthi.s | UNIX for Dummies Questions & Answers | 6 | 07-11-2008 07:11 AM |
| How to change the file name | rp1982 | UNIX for Dummies Questions & Answers | 2 | 11-30-2007 12:49 AM |
| Help to change value from a file. | GCTEII | Shell Programming and Scripting | 15 | 03-07-2006 11:54 AM |
| How to change this file with SED? | bejgirl | Shell Programming and Scripting | 4 | 01-03-2006 09:23 AM |
| Help with multiple file rename - change case of part of file name | steve7 | UNIX for Dummies Questions & Answers | 7 | 06-30-2005 01:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to change my file
hi everybody!
I have a file (txt) that contains many rows: abc 22 cde 32 KKK 11 I want to change the file , and then print the contents of txt file (see below): abc 22 cde 32 kkk 11 Any help is most appreciated. Thanks Last edited by maya; 02-09-2009 at 03:14 AM.. |
|
||||
|
Quote:
Code:
while read i do printf "$i " >> newfile done < filename |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|