Programming in M4sh
===================
M4sh provides portable alternatives for some common shell constructs
that unfortunately are not portable in practice.
- Macro: AS_DIRNAME (PATHNAME)
Return the directory portion of PATHNAME, using the algorithm
required by POSIX. Note:Limitations of Usual Tools, for more
details about what this returns and why it is more portable than
the `dirname' command.