[Pdx-pm] Getopt::Modern usage model

Austin Schutz tex at off.org
Fri Jun 10 10:53:52 PDT 2005


On Fri, Jun 10, 2005 at 07:01:09AM -0700, Michael G Schwern wrote:
> This reminds me of this Python annoyance.
> 
> $ python
> Python 2.3.5 (#1, Apr  4 2005, 18:50:09) 
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> exit
> 'Use Ctrl-D (i.e. EOF) to exit.'
> >>> quit
> 'Use Ctrl-D (i.e. EOF) to exit.'
> >>> 
> 
> It knows perfectly well what I meant yet refuses to DWIM.
> 

tex at peace:~> python
[GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
'Use Ctrl-D (i.e. EOF) to exit.'
>>> quit
'Use Ctrl-D (i.e. EOF) to exit.'
>>> import sys
>>> sys.exit()
tex at peace:~>

(flips the bird at the computer)


More information about the Pdx-pm-list mailing list