![]() |
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 |
| Replacing nulls using sed | novice1324 | Shell Programming and Scripting | 7 | 02-27-2008 03:56 AM |
| Replacing in SED | superprogrammer | Shell Programming and Scripting | 8 | 07-11-2006 02:33 AM |
| replacing corrupt /tmp dir.. | moxxx68 | UNIX for Advanced & Expert Users | 6 | 05-28-2005 06:58 PM |
| replacing with `pwd` | oldtrash | Shell Programming and Scripting | 6 | 04-09-2004 06:24 PM |
| replacing \n by \r\n | crashnburn | UNIX for Dummies Questions & Answers | 3 | 11-24-2003 03:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
help in replacing ??
hi all
i have input file like this abc.txt Code:
filename.out: <TAB>ABC<TAB>9 <TAB>AKC<TAB>1 filename1.out: <TAB>XYZ<TAB>1 <TAB>XYN<TAB>4 Code:
filename.out:<TAB>ABC<TAB>9<TAB>AKC<TAB>1 filename1.out:<TAB>XYZ<TAB>1<TAB>AYN<TAB>4<TAB> perl -pi -e 's/\n\t/\t' abc.txt its not working but when i do it from vim it works is ther any other command to do the same task |
|
||||
|
help in replacing ??
hi all
i have input file like this abc.txt Code:
filename.out: <TAB>ABC<TAB>9 <TAB>AKC<TAB>1 filename1.out: <TAB>XYZ<TAB>1 <TAB>XYN<TAB>4 Code:
filename.out:<TAB>ABC<TAB>9<TAB>AKC<TAB>1 filename1.out:<TAB>XYZ<TAB>1<TAB>AYN<TAB>4<TAB> perl -pi -e 's/\n\t/\t' abc.txt its not working but when i do it from vim it works is ther any other command to do the same task |
|
||||
|
cat is not needed
Code:
xargs -n3 < file |
| Sponsored Links | ||
|
|