developerWorks: Save Time with Text Editing One-Liners
Jan 18, 2007, 08:30 (0 Talkback[s])
(Other stories by Michael Stutz)
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
[ Thanks to BlueVoodoo for this link.
"... you can often do an editing job at the command line more
quickly than it takes to open the file in a text editor. A complex
editing procedure can be programmed and specified from the command
line and executed across multiple files, eliminating all
unnecessary screen display, cursor motion, and manual interaction
with the files. A good tactic is to keep a cache of relevant
one-liners on hand to do common editing jobs. Not only do they save
you time, especially in batch operations involving multiple files,
but you can also use them in scripts."