3 ms·
> It is also available in almost all Unix systems, maybe even more so than bash. That's a bit of a deceitful claim - maybe bash isn't on every UNIX box but /bi
by nikau 6y ago
> It is also available in almost all Unix systems, maybe even more so than bash.
That's a bit of a deceitful claim - maybe bash isn't on every UNIX box but /bin/sh sure is along with awk and cut and all the other associated helpers.
Even if perl is installed its likely missing all the cpan modules that make it useful which isn't great if the host doesn't have carte blanche access to install whatever it feels like.
As a sysadmin/devops person knowing the utilities that are guaranteed to be installed is essential, especially now that docker images trimmed of any fat are trendy for bogus security ideals.
- dolmen 6y agoThe CPAN modules availability can be worked around using App::FatPacker. https://metacpan.org/pod/App::FatPacker https://metacpan.org/pod/App::FatPacker That's what I'm using for github-keygen for maximum portability. https://github.com/dolmen/github-keygen/ https://github.com/dolmen/github-keygen/
- nikau 6y agosure, but then you have the overhead of packaging all that junk up vs a single .sh file.