[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling getopt for option without optional argument value
From: |
Chet Ramey |
Subject: |
Re: Handling getopt for option without optional argument value |
Date: |
Sat, 24 Jul 2021 15:04:45 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 |
On 7/23/21 3:53 PM, lisa-asket@perso.be wrote:
Chet rejected the idea of a different function call that might not be as great
as getopts in relation to all unix-like systems, but is able to accept
long-options.
It's certainly less desirable, since it doesn't address any of the existing
questions. But let's play along: what would such a builtin take as its
arguments, and how would you encode the various flags and optional behavior
in those arguments?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: Handling getopt for option without optional argument value, (continued)
- Re: Handling getopt for option without optional argument value, Chet Ramey, 2021/07/24
- Re: Handling getopt for option without optional argument value, Chris Elvidge, 2021/07/24
- Re: Handling getopt for option without optional argument value, Chris Elvidge, 2021/07/24
- Re: Handling getopt for option without optional argument value, Greg Wooledge, 2021/07/23
- Re: Handling getopt for option without optional argument value, Jesse Hathaway, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Lawrence Velázquez, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Chet Ramey, 2021/07/24
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value,
Chet Ramey <=
Re: Handling getopt for option without optional argument value, Chet Ramey, 2021/07/23
Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Chet Ramey, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Greg Wooledge, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Chet Ramey, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23
- Re: Handling getopt for option without optional argument value, Lawrence Velázquez, 2021/07/23
- Handling getopt for option without optional argument value, lisa-asket, 2021/07/23