Deutsch   English   Français   Italiano  
<le0qurF3hmoU1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ted@loft.tnolan.com (Ted Nolan <tednolan>)
Newsgroups: comp.lang.tcl
Subject: Re: support for built-in -opt style options for proc
Date: 25 Jun 2024 21:25:47 GMT
Organization: loft
Lines: 27
Message-ID: <le0qurF3hmoU1@mid.individual.net>
References: <aF6dnUGPYfu7t-T7nZ2dnZfqnPadnZ2d@brightview.co.uk> <v5en9n$1jqp3$1@dont-email.me> <v5eqoj$1kk24$1@dont-email.me> <v5fc9o$1nlts$1@dont-email.me>
X-Trace: individual.net +EJ5LaYppKQmfJl4VuOY+Qqd09tbdPO4+kZ7ozX+AXz//qs0Au
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:nKhDrfmco3PfjWhVmGOy0iwVTss= sha256:35DYCe4ZZZsmvW+la2Biy9yhNYtsy3ooe0fnprfl1iI=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Bytes: 1676

In article <v5fc9o$1nlts$1@dont-email.me>, et99  <et99@rocketship1.me> wrote:
>On 6/25/2024 9:20 AM, Rich wrote:
>> et99 <et99@rocketship1.me> wrote:
>snip
>
>> 
>> There is also, in tcllib, the 'cmdline' package:
>> 
>>
>https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/modules/cmdline/cmdline.md
>> 
>> Which provides an options parser that is very similar (although not
>> 100% identical) to the GNU C 'getopt' options parser.  And the man page
>> has an example.
>
>It looks like a recipe for a unix command line, not so much a tcl command.
>

Yes.  I recently put together a number of Tcl command line programs
using cmdline getopt into one Tcl program, keeping the parsing.

It looked... really weird.

(Love getopt for command line stuff though)
-- 
columbiaclosings.com
What's not in Columbia anymore..