Re:GNU ed 1.15
by YaxelPerez on Friday January 04, 2019 @02:03PM
(#18826705)
You can put the sed version in a cron job
[ Parent
| on HN ]
I suppose that's not what you meant, but I cannot stop thinking of the poor sysadmin whose files keep getting unexpectedly trimmed to exactly 397 lines.
Also, btw, you can absolutely use ed in scripts [0], but this is also something that I would pity the maintainer of.
[0] https://www.ibm.com/developerworks/community/blogs/brian/ent...