On Fri, Aug 27, 2010 at 10:09:49AM +0200, posion bit wrote: > > (/etc/mc/mc.menu) > > case "$i" in > > *.tar.gz) D="`basename $i .tar.gz`";; > > mmmm In that case, name-spaced filenames should work, because the > string is a _quoted_ multi-word string.
i="cat's meow.tar.gz" basename: extra operand `.tar.gz' Try `basename --help' for more information. -- 1KB // Microsoft corollary to Hanlon's razor: // Never attribute to stupidity what can be // adequately explained by malice. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100827082052.gb10...@angband.pl