On Wed, Jan 27, 2016 at 9:50 AM, Peter Pentchev <r...@ringlet.net> wrote:

> Right, so that would probably mean that you need a function that removes
> the *last* extension; that might indeed make sense, although it's
> trivial to implement as a regular expression substitution (but also beware
> the case of a filename with no dots at all).
>

Or starting with a dot (Unix), or even all-dots (someone called it on . or
.. for some reason).

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to