shtool-path(1) on Linux
The text a5cc45d04fa1, as Debian 8 (Jessie), Debian 7 (Wheezy), Debian 6.0 (Squeeze) shipped it.
GNU shtool command dealing with shell path variables
Flags it lists
-
--basename -
--dirname -
--magic -
--path -
--reverse -
--suppress -
-b -
-d -
-m -
-p -
-r -
-s