Hacker News new | past | comments | ask | show | jobs | submit login

> 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.




> 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.


yeah, 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


The 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


Why not use sed?


Because it’s not standard.


No, it is. And as other people have pointed out, it ships on more distros.

https://pubs.opengroup.org/onlinepubs/009604499/utilities/se...

It's "ed" which is de facto non-standard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: