emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#49698: closed (Search for URL containing certain word)


From: GNU bug Tracking System
Subject: bug#49698: closed (Search for URL containing certain word)
Date: Fri, 23 Jul 2021 15:25:02 +0000

Your message dated Fri, 23 Jul 2021 08:24:04 -0700
with message-id <0b66f3f6-6954-ccb7-9be2-84859e644e62@cs.ucla.edu>
and subject line Re: bug#49698: Search for URL containing certain word
has caused the debbugs.gnu.org bug report #49698,
regarding Search for URL containing certain word
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
49698: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49698
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Search for URL containing certain word Date: Thu, 22 Jul 2021 21:08:32 +0200
Hey,

I'm new to grep so I'd love any tips on how to search for text in the following way.

I'd like to find a certain URL that is somewhere in a large text file. I would like to find it by specifying "a URL which contains word X somewhere within it", or even "a URL which is located within 3 lines of the word X".

I'd like to copy that URL and then write it to the top of the file.

I am considering doing this with Vim search commands, yet the underlying regex would be the same, so I think this would be a good place to ask.

How would you do this with grep? Or a similar tool?

Thanks very much,
Julius


--- End Message ---
--- Begin Message --- Subject: Re: bug#49698: Search for URL containing certain word Date: Fri, 23 Jul 2021 08:24:04 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
Not a bug, so closing the bug report.


--- End Message ---

reply via email to

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