


              BaseName(V1.3- arp component))



     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.

            It has been replaced by several internal calls in 
        v2.x/3.x.
