home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
cmplngmg
/
cl_jun89.arc
/
AWK210.ARC
/
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")
}