GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BASENAME(1) User Commands BASENAME(1)

basename - return non-directory portion of a pathname

basename string [suffix]

Basename deletes the directory part of the filename-like string and prints the result. If suffix is specified, and suffix matches the last part of the result while characters remain, the matched portion of string is also deleted. /usr/local/heirloom/usr/5bin/basename and /usr/local/heirloom/usr/5bin/s42/basename interpret suffix as a simple regular expression as described in ed(1); /usr/local/heirloom/usr/5bin/posix/basename and /usr/local/heirloom/usr/5bin/posix2001/basename treat it as a fixed string.

See locale(7).
Determines the mapping of bytes to characters.

dirname(1), ed(1), sh(1), locale(7)

1/24/05 Heirloom Toolchest

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.