Re: Use "find" to search for files without extensions ?

From: Stephane CHAZELAS (stephane_chazelas_at_yahoo.fr)
Date: 09/25/03


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


Relevant Pages

  • Re: Use "find" to search for files without extensions ?
    ... > Andreas Kahari wrote: ... > zsh is Bourne derived and needs the escaping of the exclamation ...
    (comp.unix.misc)
  • Re: mutable default parameter problem [Prothon]
    ... IOW, say you have a ... It's not that the exclamation mark that causes append to ...
    (comp.lang.python)
  • Re: How can I translate it back to @ sign.
    ... mark was sent from the smsc as @. ... i discover that it is inverted exclamation mark ... For additional commands, e-mail: beginners-help@xxxxxxxx ...
    (perl.beginners)
  • Re: word icons
    ... I would imagine that the ones with exclamation points are macro-enabled Word ... file displayed the Word icon with either a green circle with a check mark ...
    (microsoft.public.word.docmanagement)
  • Re: OT on Orthography
    ... Is this a new trend? ... just a coincidence that I recently spotted the above in a few ... apostrophe (the "grimmest" mark), and I guess the exclamation point ...
    (alt.usage.english)