Re: [PATCH] getops: improve getopt-parse.bash example

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

 



On 27 July 2016 at 12:15, Benno Schulenberg <bensberg@xxxxxxxxxxxxx> wrote:
>
> In the subject line: s/ops/opt/.
>
> On Wed, Jul 27, 2016, at 12:34, Sami Kerola wrote:
>> --- a/misc-utils/getopt-parse.bash
>> +++ b/misc-utils/getopt-parse.bash
>> @@ -3,45 +3,73 @@
>>  # A small example program for using the new getopt(1) program.
>>  # This program will only work with bash(1)
>>  # An similar program using the tcsh(1) script language can be found
>
> When here anyway, maybe fix a typo: s/An/A/.
> Add a missing period: s/)/)./.
> And adjust for the times: s/new //.
>
>> -# as parse.tcsh
>> +# as getopt-parse.tcsh
>
> Also add period: s/tcsh/tcsh./
>
> Benno

Thanks Benno.

The example file banner is updated to both of them. I also changed the
example script
to call itself as script rather than a program.

https://github.com/kerolasa/lelux-utiliteetit/commit/d27f5fe770025e456fbd33b87a96968f34c455ed

Karel if/when considering merge the branch name is: getopt

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux