
04-04-2006
|
|
Supporter (in vino veritas)
|
|
|
Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
|
|
Quote:
|
Originally Posted by george_
what a 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 
|
You broke the very first rule of the forum.
(1) No flames, shouting (all caps), sarcasm, bullying, profanity or arrogant posts.
Please adhere to the rules.
|