[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.3 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. See section 10.9 Limitations of Usual Tools, for more details about what this returns and why it is more portable than the dirname command.



This document was generated by Charlie & on October, 19 2001 using texi2html