Basename and dirname

Mark Himsley mark@mdsh.com
Mon Mar 11 03:45:00 GMT 2002


On Mon, 11 Mar 2002 12:13:50 +0100 you wrote:

>Hi
>
>The unix functions; 'basename' and 'dirname' defined in the header file
>'libgen.h' is not found in cygwin. The libgen.h is not in the distribution.
>The command:
>
>find / -name "*.h" | xargs grep basename
>
>gives me nothing. Should they be there or is it a mistake?

Install sh-utils.

Also, use the web, the packages search util works very well. Had you used it
you would have found:

http://cygwin.com/cgi-bin2/package-cat.cgi?file=sh-utils/sh-utils-2.0-2

-- 
Mark Himsley
In Acton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list