[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [CLEAR] alias find issue
From: |
Bernhard Voelker |
Subject: |
Re: [CLEAR] alias find issue |
Date: |
Tue, 6 Sep 2016 23:12:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
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