On Sun, 17 Aug 2008, Brian K. White wrote:-
davjam@viper-mk2:~> j=$(echo "${i##*/}") ; echo "'${j}'" 'tst '
cairo $ A=`echo ${A##*/}`
I spotted the difference. As is my habit, I wrapped the ${i##*/} in quotes whereas you didn't, and so mine preserved the white space where yours didn't. So, yes yours would work. Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys SUSE 10.1 32 | | openSUSE 10.3 32b | openSUSE 11.0 32b | openSUSE 10.2 64b | openSUSE 10.3 64b | openSUSE 11.0 64b RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org