[MPlayer-dev-eng] CVS: main/libdha pci_db2c.awk,1.1,1.2

Felix Buenemann atmosfear at users.sourceforge.net
Sat Jan 12 22:05:54 CET 2002


On Saturday, 12. January 2002 20:06, you wrote:
> gawk:          works
> mawk:          works
> original awk:  works
> nawk(solaris): works
> awk(solaris):  doesn't work (does not know functions)
Shoudln't be problem, because all functions are exactly called once, besides 
print_head which is called 4 times, but it's only three line function so it's 
 no prob. Simply one could embed current funtions into the code, so no 
functions are needed.
Nick can you do it? I think otherwise I could do, but I dunno awk, so 
probably yours would be cleaner.

Nick, can you tell me what a function like:
function init_name_db()
{
  vendor_names[1]=""
}
is good for? ;)

>
> I also dont like the check (infact it isnt really one)
> It should probe for an suitable awk. Ie trying for a
> gawk, then for mawk, then nawk and last awk itself.
> There should be IMHO also an option to define a path
> do an awk.
yea, especially because system might miss a symlink from  *awk to awk and 
also it could choose best awk, mawk seems to be fastest. But IMHO it's ok to 
use it in path because it's global systemutil that should be in PATH anyway.

-- 
Best Regards,
	Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list