Re: Documentation of module parameters.

john slee (indigoid@higherplane.net)
Sat, 21 Apr 2001 03:30:19 +1000


--n/aVsWSeQ4JHkrmm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--n/aVsWSeQ4JHkrmm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kernel-module-info.sh"

#!/bin/sh

# john slee <indigoid@higherplane.net> # 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'

--n/aVsWSeQ4JHkrmm-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/