>Do you mean that I should be parsing each driver file seperately?

not really, just do a single pass over each one of them at some point
in time. store the results, and use them. this should get you started
(its not perfect, but it doesn't do a bad job.

#!/usr/local/bin/perl

while(<>) {
          if (/MODULE_PARM_DESC/) {
              @foo = split /[()]/;
              @bar = split (/,/, $foo[1], 2);
              $bar[1] =~ s/"//g;
              printf ("%-32s %s\n", $bar[0], $bar[1]);
          }
}

add something to recurse through the source tree, and include the
module name and card name info, and you're pretty much done ...

--p


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to