next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
baseFilename -- the base part of a filename or path
Synopsis
Usage:
baseFilename fn
Inputs:
fn
,
a
string
, a filename or path
Outputs:
the last component of the path
Description
i1 : baseFilename "/a/b/dir/" o1 = dir
i2 : baseFilename "/a/b/file" o2 = file
See also
File
-- the class of all files
minimizeFilename
-- minimize a file name
relativizeFilename
-- relativize a file name
toAbsolutePath
-- the absolute path version of a file name
searchPath
-- search a path for a file
path
-- list of directories to look in