Re: 38
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.
Reply to:
- Follow-Ups:
- Re: 38
- From: Brian May <brian@microcomaustralia.com.au>
- References:
- 38
- From: posion bit <poisonbit@gmail.com>
- Re: 38
- From: Stanislav Maslovski <stanislav.maslovski@gmail.com>
- Re: 38
- From: Adam Borowski <kilobyte@angband.pl>
- Re: 38
- From: posion bit <poisonbit@gmail.com>