bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error with `typeset -f some-func` in non-POSIX mode: bug or feature


From: Chet Ramey
Subject: Re: error with `typeset -f some-func` in non-POSIX mode: bug or feature ?
Date: Thu, 26 Jan 2006 21:08:04 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Mike Frysinger wrote:
> i know when you enable strict posix behavior, you cant use dashes in function 
> names ... but `typeset -f` seems to always reject the dash:

`typeset' requires all of its arguments to be legal identifiers.  There
is a slight inconsistency there; I will have to think it over.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live Strong.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]