basename PATH VAR
Remove directory part from the PATH and store result into variable VAR.
3.4.9. setenv - set environment variable
3.5.2. cat - concatenate file(s) to stdout