home *** CD-ROM | disk | FTP | other *** search
-
-
-
- BaseName(V1.3) ARP User's Manual BaseName(V1.3)
-
-
-
- NAME
- BaseName - Display the Base (filename) of a pathname.
-
- SYNOPSIS
- BaseName Path/a Suffix
-
- DESCRIPTION
- Basename extracts the filename from a long pathname,
- displaying it to the standard output. You can also give
- BaseName a suffix to delete. The most common use for
- BaseName is in scripts, where it is used to generate new
- filenames from old. This command is most useful with a
- shell that supports command substitution and piping.
-
- EXAMPLE
- BaseName "DF0:Scoobie/Doobie/Foobar"
- Foobar
-
- BaseName "DF0:Scoobie/Doobie/Foobar.c" .c
- Foobar
-
-
- OTHER
- This command is new with V1.3 of Arp, it is not available
- with the Commodore distribution.
-
- SEE ALSO
- AshManual TackOn
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 4/28/89)
-
-
-
-