# echo $Fete*
   # *

   i don't undestand the signification of that
   could you help me ,
   is this normal ????

I am not familiar with ksh, but bash would read the above as a
variable followed by an `*'.  And since with almost all proboblity
$Fete is not defined to anything, it will expand it to nothing.  Thus
you will end up with only "*".  I suppose that ksh uses the same way
of naming variables, i.e. $VARNAME. 

Here is an short example to help clarify the above:

[EMAIL PROTECTED]:~/t$ ls
1  2  3
[EMAIL PROTECTED]:~/t$ echo $Fete*
1 2 3
[EMAIL PROTECTED]:~/t$ Fete=foobar
[EMAIL PROTECTED]:~/t$ echo $Fete*
foobar*
[EMAIL PROTECTED]:~/t$ 

So if you want to delete a file named "$foo$" you would need to escape
that like this "\$foo\$".  Then you would get the desired effect that
you are seeking.

Hope this helps, cheers.


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to