On 09/06/2016 03:39 PM, Julien Rivoal wrote:
> I have a question for an aliases utilization, I use since a long times this
> alias : alias ff='find . -name "\!*" -print'
> 
> And now I can’t use it and I don’t understand why ?
> 
> Please could you help me 
> 
>  
> 
> Thanks in advance 

Hello Julien,

you didn't tell us why you can't use that alias anymore, or why the output
would be different from before, or from what you expect.
Apropos before: you failed to mention what version such an alias had worked
and what findutils version you have now.
Is it related to a findutils version anyway?  It might be that the shell is
already mangling the "!" character before find(1) sees the arguments.
FWIW: such an alias is still working as expected here on openSUSE:Tumbleweed:

  $ alias ff='find . -name "\!*" -print'
  $ alias find=$HOME/findutils/find/find
  $ ff
  $ find . -name "\!*" -print
  $ touch '!xx'
  $ ls -log *xx
  -rw-r--r-- 1 0 Sep  6 23:04 !xx
  $ ff
  ./!xx
  $ find . -name "\!*" -print
  ./!xx

Have a nice day,
Berny

Reply via email to