Re:Bash-oneliner: A collection of handy Bash one-liners and ...
by gnubison on Tuesday May 03, 2022 @05:54PM
(#31254114)
Perl more common than vi? The study you’re remembering probably didn’t include POSIX utilities.
[ Parent
| on HN ]
Re:Bash-oneliner: A collection of handy Bash one-liners and ...
by mdaniel on Tuesday May 03, 2022 @06:04PM
(#31254204)
With the full understanding that "docker images" are their own special little things:
$ docker run --rm ubuntu:22.04 bash -c 'command -v ex; command -v ed; command -v vi; command -v perl;'
/usr/bin/perl
and the same result for "debian:stable"---
edit: I just realized that's because apt is _written in_ perl, but tomato, tomahto, and it may very well be that they picked perl for that same universal-binary reason