"David D" <dd@asi.fr> wrote:
> I m sorry i m so idiot.
> I try to retrieve the basename of a file without the ./ which mwas return me
> froma find command
> I try a test :
>
> set a = "./mail"
> set a =basename $a
> echo `$a`
You aren't speaking sh (nor bash). The "set" command has nothing to
do with what you want; whitespace around "=" matters; you seem to have
your backquotes in the wrong place.
a="./mail"
a="`basename "$a"`"
echo "$a"
> nothing I try without '', $a mean the value into a ?
I don't understand this question.
paul