home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
pc
/
progrmng
/
stk110.lzh
/
STKSRC.COM
/
STRIPCMT.AWK
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-02-25
|
196 b
|
5 lines
### An AWK script to strip comments and empty lines from a C source file
/^\/\*\**$/ { no_print=1; }
{ if (!no_print && $0!="" && substr($0,1,5)!="#incl") print }
/^\*\**\/$/ { no_print=0 }