help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to append text to end of each line


From: Andreas Röhler
Subject: Re: How to append text to end of each line
Date: Mon, 13 May 2013 20:44:55 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

Am 13.05.2013 19:47, schrieb acomber:
I thought this would work:

c-x-% $ -> replace with ABC

But it doesn't find any matches.  How can I append a set string at the end
of each line.  I specifically want to append "




--
View this message in context: 
http://emacs.1067599.n5.nabble.com/How-to-append-text-to-end-of-each-line-tp285911.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



Do you mean M-x query-replace RET...?

That would replace a literal dollar-sign, but not the regexp-symbol for 
end-of-line.
Therefor you must call M-x  query-replace-regexp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]