[PLUG] Emacs Replace At End of Line
Rich Shepard
rshepard at appl-ecosys.com
Wed Mar 12 16:59:30 UTC 2008
On Wed, 12 Mar 2008, Robert Citek wrote:
> $ echo foo | sed 's/$/),/'
Robert,
Yeah. Didn't occur to me to use sed. Sigh. I'm not used to thinking of sed
when editing files. I suppose tr could also be used.
Wouldn't I need to specify that it's a global replacement, too?
Rich
--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
More information about the PLUG
mailing list