home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
cmplangm
/
1989_6
/
awk
/
asmgen.awk
< prev
next >
Wrap
Text File
|
1988-02-23
|
511b
|
35 lines
NF < 1 || /^;/ {
print
next
}
$1 ~ /^;/ {
i = 2;
printf ("\t%s\t", $1)
while (i <= NF) {
printf ("%s ", $i)
i++
}
printf ("\n")
next
}
{
if ($0 ~ /^[ \t]/)
i = 1
else {
printf ("%s", $1)
i = 2
}
if (i <= NF) {
printf ("\t%s\t", $i)
i++
}
while (i <= NF) {
if ($i ~ /;/)
break
printf ("%s ", $i)
i++
}
printf ("\n")
}