home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
262.lha
/
ArpDoc_v1.3
/
BaseName
< prev
next >
Wrap
Text File
|
1989-07-01
|
1KB
|
67 lines
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)