Vocabularyio.
pathnamesInputsOutputsWord descriptionOutputs the extension of
path, or
f if the filename has no extension.
ExamplesUSING: io.pathnames prettyprint ;
"/usr/bin/gcc" file-extension .
f
USING: io.pathnames prettyprint ;
"/home/csi/gui.vbs" file-extension .
"vbs"
See alsofile-name,
file-stemDefinition