Conservative. Idaho. Software engineer. Historian. Trying to prevent Idiocracy from becoming a documentary.
Email complaints/requests about copyright infringement to clayton @ claytoncramer.com. Reminder: the last copyright troll that bothered me went bankrupt.
"And we know that all things work together for good to them that love God, to them who are the called according to his purpose." -- Rom. 8:28
Pages
▼
Monday, March 20, 2017
Relearning SED
I needed to use sed to alter the gCode files each time I remade them. I had forgotten so much from when I wrote Unix shell scripts every day, but like riding a bike without a seat, once you learn it, it comes back.
"Some people, when faced with a Unix problem, think 'aha, I know, I'll use sed(1)!
ReplyDeleteNow they have two problems."
Actually sed solved my problem pretty painlessly.
ReplyDelete