|
gawk -F"[ \t=]+" '{print $1":"$2}' TC1.mk #make¾È¿¡¼´Â $$
echo "foo"|awk '{printf "`define AMS\n"}' >> $ABC
awk '{if($1~/From/) printf("%s %s\n",$2,$1) else print}' infile > outfile
awk '{printf("%s %s\n",$2,$1)}' $1 > $2
awk '{printf("mv %s %sm \n",$1,$1)}' ren.1 > ren.2
awk \
'{num+=1;printf(" %s L%03s %-8s %-6s %-14s %-7s %-3s %-3s %-5s %-4s
%s\n",$1,$2,$3,$4,$5,num,$7,$8,$9,$10,$11)}' \
tfcDefineLayer.tmp > tfcDefineLayer.tmp1
#chg-rule.csh
awk -F= '/INDISK/{printf(%s = %s\n",$1,$2)}' $1
#chg-rule.awk
{
if ($1~/INDISK/) printf("%s = %s\n",$1,$2)
else print
} |
|