On Mon, Dec 26, 2022 at 06:03:42AM +0800, [email protected] wrote:
> Sad... Not working...
> OpenBSD 7.1
> 
> #!/usr/bin/awk -f
> BEGIN {
>     d = "/tmp/test/";
>     system("mkdir -p " d);
>     i = -1;
>     while (++i < 1000) {
>          f = d i;
>          printf("") > f;
>      }
> }
> 
> awk: can't open file /tmp/wow/125
> 
> It' seems that "one true awk" is buggy...

Not really.  You just need to increase the limit for openfiles in
/etc/login.conf.

Reply via email to