[X-Unix] What's the command?

Steve Morris barbershopsteve at gmail.com
Fri Apr 16 10:12:38 PDT 2010


basename, dirname

On Fri, Apr 16, 2010 at 1:10 PM, Dave Higgins <dhiggins at mchsi.com> wrote:

> I was reading through some forum threads and stumbled on a pair of
> command-line tools that I thought would be handy for something that I'm
> working on, and I thought I kept it in some notes, but for the life of me I
> can't find it or remember the commands.
>
> They're quite simple. One trims the filename off of a full path, and the
> other trims the path off of the filename. So, given
>
> /path/to/file/on/the/drive.txt
>
> one returns "drive.txt"
> other returns "/path/to/file/on/the"
>
> Anyone know offhand what these are?
>
> Thanks.
>
> Dave.
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20100416/5e908018/attachment.htm>


More information about the X-Unix mailing list