Re: RFC: Replacing bc/dc to BSDL versions

From: Gábor Kövesdán <gabor_at_kovesdan.org>
Date: Fri, 26 Jun 2009 18:18:44 +0200
Alexey Shuvaev wrote:
> Thanks!
> I'm running the system with BSD bc/dc now.
> The only small thing I've noticed is:
>
> ~> dc -h
> dc: invalid option -- h
> usage: dc [-hVx] [-e expression] [file]
> ~> dc --help
> usage: dc [-hVx] [-e expression] [file]
>
> This seems to come from this line in dc.c:
>
> +       /* accept and ignore a single dash to be 4.4BSD dc(1) compatible */
> +       while ((ch = getopt_long(argc, argv, "e:f:Vx", long_options, NULL)) != -1) {
>
> Possibly one should just use "e:f:Vhx"?
> Otherwise looks good, I'm using dc from time to time.
>   
Thanks Alexey, your observation is correct, I'll fix my patch. We cannot 
replace bc/dc for 8.X, however, because re's decision was to defer this 
change after the code freeze. In the meantime, all of your input is very 
important so that we can polish possible remaining items. Thanks for 
taking your time to try BSD bc/dc.

Regards,
Gabor
Received on Fri Jun 26 2009 - 14:38:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC