Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2009 18:18:44 +0200
From:      =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= <gabor@kovesdan.org>
To:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Gabor Kovesdan <gabor@FreeBSD.org>
Subject:   Re: RFC: Replacing bc/dc to BSDL versions
Message-ID:  <4A44F4E4.2030104@kovesdan.org>
In-Reply-To: <20090626161057.GA47554@wep4035.physik.uni-wuerzburg.de>
References:  <4A246C4D.6080409@FreeBSD.org> <4A407CB1.2060107@FreeBSD.org> <20090626161057.GA47554@wep4035.physik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A44F4E4.2030104>