Hi, Eelco Dolstra <[email protected]> writes:
> nrCores=$(cat /proc/cpuinfo | grep 'processor.*:' | wc -l) It would be more portable and more elegant to use Coreutils’ new ‘nproc’ command: nrCores=$(nproc) Thanks, Ludo’. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
