On Sat, Apr 21, 2001 at 03:19:20AM +1000, john slee wrote: > it sounded like a challenge. this might help someone who can't be and it might be even more helpful if it didnt appear with a stupid mimetype. attempt #2 -- "Bobby, jiggle Grandpa's rat so it looks alive, please" -- gary larson
#!/bin/sh # john slee <[EMAIL PROTECTED]> # Sat Apr 21 03:17:55 EST 2001 # quick and dirty. run from a kernel source dir somewhere. find . -name "*.c" | xargs egrep 'MODULE_DESCRIPTION|MODULE_PARM_DESC' \ | sed '/#undef/d; s/^\.\///; s/[:()]/ /g; s/[";]//g; /MODULE_PARM_DESC/s/,[ ]*/ /; /^[ ]*$/d'