[Toybox] awk seen in the wild

Ed Maste emaste at freebsd.org
Fri Jul 8 18:58:46 PDT 2016


On 9 July 2016 at 01:26, Andy Chu <andychup at gmail.com> wrote:
>>
>> https://svnweb.freebsd.org/base/head/sys/tools/sound/feeder_rate_mkfilter.awk?view=markup
>
> WOW.  OK that's a creative use of awk.  It's still a C code generator,
> but it's doing lots of floating point math to create audio filters.
> 899 lines.
>
> Where exactly is this used?  Is it just a random user space tool or
> actually fundamental to BSD in some way?

It's used in the FreeBSD kernel build process:
https://svnweb.freebsd.org/base/head/sys/conf/files?revision=301778&view=markup#l40

Perhaps not "fundamental to BSD" in general, but important for FreeBSD
users who want sound :-)


More information about the Toybox mailing list