[COFF] Other OSes?
Grant Taylor
gtaylor at tnetconsulting.net
Sat Jul 7 02:47:15 AEST 2018
On 07/06/2018 10:10 AM, Ralph Corderoy wrote:
> Hi Grant,
Hi Ralph,
> Like Ted, I favour sh over bash for scripts when possible, and was just
> chipping in to help increase sh's number. :-)
To each his / her own preferences.
I do like the feedback and exposure to alternative solutions.
> $ strace -c dash -c : |& sed -n '1p;$p'
> % time seconds usecs/call calls errors syscall
> 100.00 0.000883 35 1 total
> $ strace -c bash -c : |& sed -n '1p;$p'
> % time seconds usecs/call calls errors syscall
> 100.00 0.002943 145 8 total
I like the info.
I'm not at all surprised that dash has fewer calls than bash.
$ strace -c zsh -c : |& sed -n '1p;$p'
% time seconds usecs/call calls errors syscall
100.00 0.000017 271 15 total
Oh my. Zsh is even fatter (call heavy) than Bash.
--
Grant. . . .
unix || die
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3982 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://minnie.tuhs.org/pipermail/coff/attachments/20180706/15e5219c/attachment.bin>
More information about the COFF
mailing list