Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #201512
| From | rhkramer@gmail.com |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: An appropriate directory search tool? |
| Date | 2018-10-21 17:50 +0200 |
| Message-ID | <wLo9j-5Ol-1@gated-at.bofh.it> (permalink) |
| References | <wKEzv-4gD-5@gated-at.bofh.it> <wLn3z-5cH-5@gated-at.bofh.it> <wLnPX-5Ig-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sunday, October 21, 2018 11:21:35 AM David Wright wrote: > On Sun 21 Oct 2018 at 10:33:41 (-0400), rhkramer@gmail.com wrote: > > On Sunday, October 21, 2018 09:48:28 AM David Wright wrote: > > > $ grep -L keywordB $(grep -l keywordA a-directory/*extension) > > > > I am not the OP, and I haven't tried this out, but, reading the grep man > > page for the -L (and the -l) option, I'm a little concerned by the > > sentence that says ~"Scanning will stop on the first match" -- does that > > mean it will stop scanning the particular file being scanned, or does > > that mean it will stop scanning in the directory (or list of files) > > being scanned? > > Read the full names of the options: > --files-without-match > --files-with-matches > ↑ > > But the fact that scaanning stops can be important. When you get to > test it out for yourself, try using interactive standard input (-) > as an input file and you will see the difference when you add -l > as an option. Thanks for the reply, and I like that ability to use standard input! I tried the following, and the output from -L and -l seems almost the same, except for that extra line that says "(standard input)" when I use the -l option. Any further clarification / clues would be appreciated. <quote> rhk@s19:/rhk/ked1$ grep -l test - one two test (standard input) rhk@s19:/rhk/ked1$ grep -L test - test rhk@s19:/rhk/ked1$ grep -L test - one two test rhk@s19:/rhk/ked1$ grep -l test - one two test (standard input) rhk@s19:/rhk/ked1$ </quote>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-19 17:10 +0200
Re: An appropriate directory search tool? Roberto C. Sánchez <roberto@debian.org> - 2018-10-19 17:20 +0200
Re: An appropriate directory search tool? Roberto C. Sánchez <roberto@debian.org> - 2018-10-19 17:20 +0200
Re: An appropriate directory search tool? <tomas@tuxteam.de> - 2018-10-19 17:30 +0200
Re: An appropriate directory search tool? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-19 17:40 +0200
Re: An appropriate directory search tool? <tomas@tuxteam.de> - 2018-10-19 17:50 +0200
Re: An appropriate directory search tool? rhkramer@gmail.com - 2018-10-20 15:30 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-19 17:50 +0200
Re: An appropriate directory search tool? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-19 18:10 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-30 16:00 +0100
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-12-01 18:20 +0100
Re: An appropriate directory search tool? songbird <songbird@anthive.com> - 2018-10-20 00:40 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-20 11:40 +0200
Re: An appropriate directory search tool? <tomas@tuxteam.de> - 2018-10-20 11:50 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-20 12:30 +0200
Re: An appropriate directory search tool? Joe <joe@jretrading.com> - 2018-10-20 13:40 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-20 14:30 +0200
Re: An appropriate directory search tool? Brian <ad44@cityscape.co.uk> - 2018-10-20 21:10 +0200
Re: An appropriate directory search tool? Håkon Alstadheim <hakon@alstadheim.priv.no> - 2018-10-21 00:00 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-21 12:10 +0200
Re: An appropriate directory search tool? Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2018-10-21 11:00 +0200
Re: An appropriate directory search tool? <tomas@tuxteam.de> - 2018-10-21 11:20 +0200
Re: An appropriate directory search tool? Roberto C. Sánchez <roberto@debian.org> - 2018-10-20 14:10 +0200
Re: An appropriate directory search tool? John Crawley <john@bunsenlabs.org> - 2018-10-21 03:20 +0200
Re: An appropriate directory search tool? mick crane <mick.crane@gmail.com> - 2018-10-21 07:30 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-21 12:30 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-21 15:50 +0200
Re: An appropriate directory search tool? rhkramer@gmail.com - 2018-10-21 16:40 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-21 17:30 +0200
Re: An appropriate directory search tool? rhkramer@gmail.com - 2018-10-21 17:50 +0200
Re: An appropriate directory search tool? Curt <curty@free.fr> - 2018-10-21 18:40 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-21 18:40 +0200
Re: An appropriate directory search tool? rhkramer@gmail.com - 2018-10-21 19:20 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-21 21:00 +0200
Re: An appropriate directory search tool? rhkramer@gmail.com - 2018-10-21 23:50 +0200
Re: An appropriate directory search tool? John Crawley <john@bunsenlabs.org> - 2018-10-22 03:20 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-22 17:30 +0200
Re: An appropriate directory search tool? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-22 15:20 +0200
Re: An appropriate directory search tool? David Wright <deblis@lionunicorn.co.uk> - 2018-10-22 17:30 +0200
Re: An appropriate directory search tool? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-22 17:50 +0200
Re: An appropriate directory search tool? Curt <curty@free.fr> - 2018-10-21 12:00 +0200
Re: An appropriate directory search tool? Joe <joe@jretrading.com> - 2018-10-20 13:30 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-20 14:30 +0200
Re: An appropriate directory search tool? Étienne Mollier <etienne.mollier@mailoo.org> - 2018-10-20 12:30 +0200
Re: An appropriate directory search tool? Richard Owlett <rowlett@cloud85.net> - 2018-10-20 14:40 +0200
Re: An appropriate directory search tool? Dan Purgert <dan@djph.net> - 2018-10-20 15:20 +0200
Re: An appropriate directory search tool? rhkramer@gmail.com - 2018-10-20 15:30 +0200
csiph-web