![]() |
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 |
| tell me whats wrong with this | nadman123 | Shell Programming and Scripting | 1 | 04-14-2008 11:58 PM |
| tell me whats wrong in this? | nadman123 | Shell Programming and Scripting | 1 | 04-10-2008 01:11 AM |
| if [ -s $File ] ; Whats wrong in this ?? | varungupta | UNIX for Advanced & Expert Users | 5 | 08-21-2007 01:24 AM |
| Whats wrong with this script? | kayarsenal | Shell Programming and Scripting | 2 | 08-25-2006 09:58 AM |
| Whats wrong with the mv command | dsravan | Shell Programming and Scripting | 0 | 08-10-2006 03:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
whats wrong with this awk???
while read LINE;
do echo |awk -v LIN="${LINE}" '{print substr(LIN,1,7)","substr(LIN,8,5)" ,"substr(LIN,14,10)","substr(LIN,24,6)" ,"substr(LIN,30,8)}'; done < exp1.txt exp1.txt = 1234 grgrg 203902 ksdjh oehr weo why it doesn't work?? thanks. |
|
||||
|
what removed is going on????????
while read LINE; do echo LINE |awk -v LIN="${LINE}" '{print substr(LIN,1,7)","substr(LIN,8,5)","substr(LIN,14,10)","substr(LIN,24,6)","substr(LIN,30,8)","substr (LIN,38,4)}'; done < prefinal.txt prefinal.txt: 1234 grgrg 203902 ksdjh oehr weo why it doesn't work???????? removed cygwin ![]() Last edited by Perderabo; 04-04-2006 at 09:32 AM.. Reason: Remove profanity |
|
|||||
|
Quote:
(1) No flames, shouting (all caps), sarcasm, bullying, profanity or arrogant posts. Please adhere to the rules. |
|
||||
|
I am sorry,I didn't know about it...
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|