WCSTools programs

filename
Return the filename from a pathname.

filename returns a filename, given a complete pathname If there is a "/", return everything after the final "/". If there is no "/", return the entire string

Command Line Arguments

string
ASCII character string

Examples


$ filename /directory/file
file
$ filename file
file

Last updated 06 November 2015 by Jessica Mink

Telescope Data Center