Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #35722
| From | Ralf Fassel <ralfixx@gmx.de> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: mpg123 question |
| Date | 2022-10-12 11:11 +0200 |
| Message-ID | <yga8rll9zkf.fsf@akutech.de> (permalink) |
| References | <ti2cd4$tt3f$1@dont-email.me> <ti2lmn$11a93$1@dont-email.me> <ti49g7$157fk$1@dont-email.me> <ti4f65$15ms2$1@dont-email.me> |
* Rich <rich@example.invalid>
| find -name pattern1\* -o -name pattern2\* -o -name pattern3\* -print | ...
I *think* the -o need to be included in \(...\)
find \( -name pattern1\* -o -name pattern2\* -o -name pattern3\* \) -print
since the implicit -a between the last -o and the -print inhibits
printing of pattern1 and pattern2:
touch pattern1 pattern2 pattern3
find -name pattern1\* -o -name pattern2\* -o -name pattern3\* -print
./pattern3
find \( -name pattern1\* -o -name pattern2\* -o -name pattern3\* \) -print
./pattern1
./pattern3
./pattern2
HTH
R'
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
mpg123 question pH <wNOSPAMp@gmail.org> - 2022-10-11 00:12 +0000
Re: mpg123 question Rich <rich@example.invalid> - 2022-10-11 02:51 +0000
Re: mpg123 question pH <wNOSPAMp@gmail.org> - 2022-10-11 17:35 +0000
Re: mpg123 question Rich <rich@example.invalid> - 2022-10-11 19:12 +0000
Re: mpg123 question Ralf Fassel <ralfixx@gmx.de> - 2022-10-12 11:11 +0200
Re: mpg123 question Andreas Kohlbach <ank@spamfence.net> - 2022-10-10 23:02 -0400
Re: mpg123 question pH <wNOSPAMp@gmail.org> - 2022-10-11 17:39 +0000
Re: mpg123 question Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-10-11 18:09 +0000
Re: mpg123 question Rich <rich@example.invalid> - 2022-10-11 19:14 +0000
Re: mpg123 question Andreas Kohlbach <ank@spamfence.net> - 2022-10-11 15:26 -0400
csiph-web