Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

basename(1)

strip directory and suffix from filenames

Package: coreutil, added for amigaux.

This package comes with the extra set; without it, basename is the original one: see basename-original(1).

Also by this name: basename(1B), BSD versions of commands · basename(3G), General-purpose library

basename - strip directory and suffix from filenames

basename NAME [SUFFIX]
basename OPTION

Print NAME with any leading directory components removed. If specified, also remove a trailing SUFFIX.

display this help and exit
output version information and exit

Written by FIXME unknown.

Report bugs to <bug-coreutils@gnu.org>.

Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The full documentation for basename is maintained as a Texinfo manual. If the info and basename programs are properly installed at your site, the command

info coreutils basename

should give you access to the complete manual.

March 2004 basename 5.2.1