Angel Tsankov wrote:
> Hi,
> 
> Using bash 3.2.48(1)-release, echo ""~root  prints ~root instead of /root. 
> Is this the expected behaviour?

Yes.  The tilde is not the first character in the word.  Portions of
words to be tilde-expanded can't be quoted at all, either.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to