LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Use of end-of-line character in Emacs searches (https://www.linuxquestions.org/questions/linux-newbie-8/use-of-end-of-line-character-in-emacs-searches-4175656900/)

llsalcedo 07-05-2019 03:27 AM

Use of end-of-line character in Emacs searches
 
Hi! I would like to know how to introduce the end-of-line character in Emacs searches.
So for instance, if I wanted to look for lines starting with the letter 'c'
(after Ctrl-s to start the search) I would introduce something like 'end-of-line c' replacing 'end-of-line' with some appropriate string. Is this possible?
Thanks

rtmistler 07-05-2019 05:33 AM

Copy the end of line and paste it into the search buffer. I do that a lot.

llsalcedo 07-05-2019 05:49 AM

Thank you, it works fine!


All times are GMT -5. The time now is 12:45 PM.