From owner-freebsd-current@FreeBSD.ORG Fri Jun 26 16:38:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2CB51065674; Fri, 26 Jun 2009 16:38:04 +0000 (UTC) (envelope-from gabor@kovesdan.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 9A29F8FC0A; Fri, 26 Jun 2009 16:38:04 +0000 (UTC) (envelope-from gabor@kovesdan.org) Received: from localhost (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id A83B714D8AF3; Fri, 26 Jun 2009 18:18:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.mypc.hu ([127.0.0.1]) by localhost (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t6TcX2+s1X8Q; Fri, 26 Jun 2009 18:18:14 +0200 (CEST) Received: from [192.168.3.188] (arribagr.adsl.datanet.hu [195.56.3.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 7558814D8ADB; Fri, 26 Jun 2009 18:18:14 +0200 (CEST) Message-ID: <4A44F4E4.2030104@kovesdan.org> Date: Fri, 26 Jun 2009 18:18:44 +0200 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 2.0.0.21 (X11/20090516) MIME-Version: 1.0 To: Alexey Shuvaev References: <4A246C4D.6080409@FreeBSD.org> <4A407CB1.2060107@FreeBSD.org> <20090626161057.GA47554@wep4035.physik.uni-wuerzburg.de> In-Reply-To: <20090626161057.GA47554@wep4035.physik.uni-wuerzburg.de> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 29 Jun 2009 00:48:51 +0000 Cc: FreeBSD Current , Gabor Kovesdan Subject: Re: RFC: Replacing bc/dc to BSDL versions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 16:38:05 -0000 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