Vocabularyio.
pathnamesInputsOutputsWord descriptionOutputs the last component of a pathname string.
ExamplesUSING: io.pathnames prettyprint ;
"/usr/bin/gcc" file-name .
"gcc"
USING: io.pathnames prettyprint ;
"/usr/libexec/awk/" file-name .
"awk"
See alsofile-stem,
file-extensionDefinition