parallel
[Top][All Lists]
Advanced

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

{/} as basename


From: Ole Tange
Subject: {/} as basename
Date: Wed, 27 Oct 2010 00:11:43 +0200

{.} is a shorthand for removing from the last . in the filename (and
thereby removing the extension if any).

I am thinking of implementing a similar for basename, so you can get
the filename without the path. My idea is to use {/} as the basename
variable.

Would it be useful?

If so, what should the corresponding {2} and {2.} be called? Maybe:
{2/} and {2/.} ?


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]