|
From: | Greg Wooledge |
Subject: | Re: [Help-bash] Basename and extension |
Date: | Tue, 14 Feb 2012 10:51:53 -0500 |
User-agent: | Mutt/1.4.2.3i |
On Tue, Feb 14, 2012 at 11:49:12PM +0800, J. M. wrote: > extension=${filename##*.} > filename=${filename%.*} > > Why above two gets work, I don't understand. http://mywiki.wooledge.org/BashFAQ/100 (and many others)
[Prev in Thread] | Current Thread | [Next in Thread] |