[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shorthand attempt at 'basename file .ext'
From: |
Chris F.A. Johnson |
Subject: |
Re: shorthand attempt at 'basename file .ext' |
Date: |
Fri, 28 Mar 2008 04:25:44 +0000 |
User-agent: |
slrn/0.9.8.1 (Linux) |
On 2008-03-25, Linda Walsh wrote:
> hey folks, have what is maybe, mostly a mental exercise, but...
....
> just thought that I might find some programs benefiting by not calling
> the external /[usr]/bin/{basename,filename} progs...
You can find a shell function to replace the external basename
command at: <http://cfaj.freeshell.org/shell/scripts/basename-sh>.
--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
.