Poor Yorick wrote:
ksh refuses to define functions which contain a dash ("-") in the name.  The
Bash manual also defines 'name' as consisting solely of letters, numbers, and
underscores.  So shouldn't bash refuse to create functions which contain a dash
in the name?

When in posix mode, bash does so refuse.  In default (non-posix) mode, it
is more liberal.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to