You are in an open field west of a big white house... - Community & Forums Related Discussions

Users browsing this thread: 1 Guest(s)
gaak
Members
(04-01-2019, 09:05 AM)zge Wrote: Why on earth would you want to use ed? It's a notoriously bad interactive editor, a product of a long-gone age, not matter what esoterics say. If you already use OpenBSD (I presume on servers?) why not use the two entirely sufficient alternatives: (classical) vi and mg?

vim + tmux to make a vim-slime that can capture all my remote edits. e.g.
Code:
ssh box
intf='enp131s0f1'                                
ed /etc/sysconfig/network-scripts/ifcfg-${intf}  
%p                                              
a                                                
ETHTOOL_OPTS="-G ${DEVICE} rx 4096"              
.                                                
wq

having one huge file of all the work that's been done on servers is great.


Messages In This Thread
RE: You are in an open field west of a big white house... - by gaak - 04-01-2019, 11:04 AM