News for hackers. Stuff that matters.
Re:Actually using Ed by ykonstant on Wednesday December 28, 2022 @12:30PM (#34163375)
It is very frustrating. In my personal sh library, I probe for `ed` and, if not available, I alias to `ex -s`; I then write in-place editing scripts carefully to use only common functionality to both. Sigh.
Re:Actually using Ed by Jorengarenar on Wednesday December 28, 2022 @01:39PM (#34164163)
Yeah... to my even bigger surprise, ex also was nowhere to be found!
Re:Actually using Ed by ykonstant on Wednesday December 28, 2022 @02:34PM (#34164888)
That is very strange; ex should be part of Arch base... oh well, probe for `vi -s` and if this does not work either, get karma on reddit or whatever by making fun of Arch :D
Re:Actually using Ed by Jorengarenar on Wednesday December 28, 2022 @03:00PM (#34165161)
Now that I look at it, base package is missing [0] a bit of stuff:

> The base package does not include all tools from the live installation, so installing other packages may be necessary for a fully functional base system. In particular, consider installing:

> - userspace utilities for the management of file systems that will be used on the system,

> - utilities for accessing RAID or LVM partitions,

> - specific firmware for other devices not included in linux-firmware (e.g. sof-firmware for sound cards),

> - software necessary for networking (e.g. a network manager or DHCP client),

> - a text editor,

> - packages for accessing documentation in man and info pages: man-db, man-pages and texinfo.

[0]: https://wiki.archlinux.org/title/Installation_guide#Install_...