Re: Use "find" to search for files without extensions ?
From: Stephane CHAZELAS (stephane_chazelas_at_yahoo.fr)
Date: 09/25/03
- Next message: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Previous message: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- In reply to: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Next in thread: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Reply: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Sep 2003 09:15:10 GMT
Andreas Kahari wrote:
[...]
>> tt30446@terrance[992]> find . \! -name '*\.*'
>> ./check
>> ./hello
>
> In a Bourne-derived shell, the escaping of the exclamation
> mark is unnecessary.
[....]
zsh is Bourne derived and needs the escaping of the exclamation
mark (unless you unset the banghist option [which I do] as in sh
or ksh emulation)
bash is Bourne derived and also performs history expansion (even
if a "!" alone is not special).
-- Stéphane
- Next message: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Previous message: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- In reply to: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Next in thread: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Reply: Andreas Kahari: "Re: Use "find" to search for files without extensions ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|