[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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: