Hi Pierre, Thanks very much for your reply! I have tried the code you supplied, however it seems not workable. The following is the content of the error.
awk: {if(NR%4==2) {L=0;if(match(-bash,/^[Tt]+/)>0) { L=RLENGTH;} -bash=substr(-bash,L+1);} else if(NR%4==0) {-bash=substr(-bash,L+1);} print;}
awk: ^ syntax error
awk: {if(NR%4==2) {L=0;if(match(-bash,/^[Tt]+/)>0) { L=RLENGTH;} -bash=substr(-bash,L+1);} else if(NR%4==0) {-bash=substr(-bash,L+1);} print;}
awk: ^ syntax error
Do you have any idea about this? Thanks!
Meisheng
• 0 views
•
link