Bash - an odd problem using sed or awk or for

John Horne john.horne at plymouth.ac.uk
Fri Nov 30 11:32:15 UTC 2012


On Thu, 2012-11-29 at 18:56 -0600, inode0 wrote:

> 
> Oh, for a simple variable this should work
> 
> echo "${XX/*
> 
> }"
> 
Hello,

Yes, that does seem to work :-)

Although I have to admit I'm not sure why! I'll investigate further :-)



Many thanks,

John.

-- 
John Horne                   Tel: +44 (0)1752 587287
Plymouth University, UK      Fax: +44 (0)1752 587001


More information about the users mailing list