Short:        Extracts filename from path:to/filename combination
Author:       David Zvekic (cs922097@ariel.cs.yorku.ca)
Uploader:     David Zvekic (cs922097 ariel cs yorku ca)
Type:         util/batch
Version:      1.11
Architecture: m68k-amigaos


                                 Namefile 1.11
                                by David Zvekic
                                ~~~~~~~~~~~~~~~
Namefile is public domain.  You can do whatever you like with it.  You can
sell it without telling me, you can make your own Namefile clone and I
wouldn't even care.  Just whatever you do, don't blaim me if you think
Namefile crashed your system, because I won't care. :P

Intro
^^^^^^
    This is a little program I wrote which I find useful at times inside
    amigados scripts.  It is only 6000 bytes long and fits in my C: nicely.

What Namefile does
^^^^^^^^^^^^^^^^^^^
    Namefile will return the filame part of the argument. The argument
    may be a file name, optionally with a complete path.

Examples:

            Work:> namefile s:startup-sequence
            startup-sequence

            Work:> namefile work:games/MegaBallAGA/MEGABALL
            MEGABALL

            Work:> namefile work:games/MegaBallAGA
            MegaBallAGA

    *note blank lines inserted for clarity*


If you put a \n as your 2nd argument then namefile will not output
a carriage return after the file name.  i.e.: namefile c:dir \n

Thats about it. :-)

Please feel free to write me at my email address:


               cs922097@ariel.cs.yorku.ca

or

                David Zvekic
                74 Briarwood rd
                Unionville, Ont.
                L3R 2X3
                *Canada*

PS: I've included the HSPascal Source Code.



