11 ms·
> ed .ssh/config I think this is my ed use-case as well. I've noticed I need to "apt-get install ed" sometimes. The standard editor is not always standard,
by fmakunbound 4y ago
> ed .ssh/config
I think this is my ed use-case as well. I've noticed I need to "apt-get install ed" sometimes. The standard editor is not always standard, it seems.
- mr_toad 4y ago> The standard editor is not always standard, it seems. Linux distros don’t follow a standard anymore, as as I can tell. And Linux was never entirely POSIX compliant.
- 0x69420 4y agoyeah, unfortunately, despite literally being specified in posix (hell, macos bundles it) one of these days i will go around pestering distro release engineers to include it; after all, it's less heavyweight than any one of their homespun lightdm greeters
- mananaysiempre 4y agoThe set of utilities specified in POSIX is, erm, not entirely sensible[1]. Though POSIX is more helpful than most large standards I’ve seen, it still ends up mostly having partial implementations (are there any completely 2008-compliant systems, I wonder?). [1] http://www.landley.net/toybox/roadmap.html#susv4 http://www.landley.net/toybox/roadmap.html#susv4
- ogogmad 4y agoWhy not use sed?
- hestefisk 4y agoBecause it’s not standard.
- ogogmad 4y agoNo, it is. And as other people have pointed out, it ships on more distros. https://pubs.opengroup.org/onlinepubs/009604499/utilities/sed.html https://pubs.opengroup.org/onlinepubs/009604499/utilities/se... It's "ed" which is de facto non-standard.