From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S6WKp-0004Du-Jv for mharc-grub-devel@gnu.org; Sat, 10 Mar 2012 19:08:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6WKm-0004Dm-LY for grub-devel@gnu.org; Sat, 10 Mar 2012 19:08:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6WKk-0004aX-NW for grub-devel@gnu.org; Sat, 10 Mar 2012 19:08:24 -0500 Received: from wp191.webpack.hosteurope.de ([80.237.132.198]:45066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6WKk-0004aI-EF for grub-devel@gnu.org; Sat, 10 Mar 2012 19:08:22 -0500 Received: from p4fc277c1.dip.t-dialin.net ([79.194.119.193] helo=neptun.omega.ssw.de); authenticated by wp191.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1S6WKh-0002nJ-VY; Sun, 11 Mar 2012 01:08:20 +0100 Received: from localhost (localhost [127.0.0.1]) by neptun.omega.ssw.de (Postfix) with ESMTP id 061BFE180A8; Sun, 11 Mar 2012 01:08:19 +0100 (CET) X-Virus-Scanned: amavisd-new at omega.ssw.de Received: from neptun.omega.ssw.de ([127.0.0.1]) by localhost (neptun.omega.ssw.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hizJ1GbOnLp6; Sun, 11 Mar 2012 01:08:06 +0100 (CET) Received: from [192.168.2.43] (p640.fritz.box [192.168.2.43]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by neptun.omega.ssw.de (Postfix) with ESMTP id 8DD33E180A7; Sun, 11 Mar 2012 01:08:06 +0100 (CET) Message-ID: <4F5BECE8.7060007@anvo-it.de> Date: Sun, 11 Mar 2012 01:08:08 +0100 From: Andreas Vogel User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [BUG] GRUBs option parsing needs fixing References: <4F541349.7070704@anvo-it.de> <4F541723.6030105@gmail.com> <4F54A094.1000000@anvo-it.de> <4F54B78B.9010707@gmail.com> <4F54DF19.7000804@anvo-it.de> <4F58B03E.2050908@anvo-it.de> <4F58BEE8.3050006@gmail.com> <4F58C2E7.6080000@gmail.com> <4F58CA35.2060506@anvo-it.de> <4F58CDAD.3010300@gmail.com> <4F58D436.7040709@anvo-it.de> <4F5BB06A.504@gmail.com> In-Reply-To: <4F5BB06A.504@gmail.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-bounce-key: webpack.hosteurope.de; andreas.vogel@anvo-it.de; 1331424502; 35bd1e8e; X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.237.132.198 Cc: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 00:08:26 -0000 Am 10.03.2012 20:50, schrieb Vladimir '=CF=86-coder/phcoder' Serbinenko: >> What else can i do other than >> to beg for pardon? > If I have something against you, it's your unwillingness to compromise.= > With others it's easy to find compromise but with your approach "all or= > nothing" it makes the whole thing much more stressful for both of us > without changing the final outcome. That's about basic rules of > communication and cooperation, Sad to hear this, sad that you think about me like this and sad that you're becoming personal. I just tried to discuss about where I see problems. It hurts that you think that I don't follow basic rules of communication and cooperation. >> C'mon, I'm talking about the GNU conventions/recommendations regarding= >> argument parsing. I'm not talking about the GNU operating system, I >> thought I made it clear by even giving the link to that document. >> Without being able to parse '-xfoo' you will not be able to handle >> optional arguments in a consistent way. Because of this I disagree: >> "-xfoo" is necessary. You are right, "search -su UUID" demonstrates >> perfectly the weakness of the actual argument parsing. It's just buggy= =2E > What is buggy and what isn't depends on what is considered correct. The= > syntax "-s root" is widely used and is expected by many people. In fact= > many people would consider it a bug if we don'r Regarding what i read from you until now, you always insisted on being compatible with GNUs ideas. And you are perfectly right doing so. I consider GNUs recommendation regarding argument handling to be correct and very well designed. Imho it would be wise to follow them. Of course you are right with "-s root", even I was using it that way until now. The only problem is that the "-s" flag allows the argument to be optional. Without that we wouldn't have any problem. >> If nothing will be changed for short options, at least you need to >> mention in the manual that "search -s -u UUID" is OK but "search -u -s= >> UUID" is NOT OK. And you need to mention that "search -su UUID" is OK >> but "search -us UUID" is NOT OK. I'm just mentioning the problems. If >> you or whoever decide that it's impossible to fix this (e.g. because >> of backward compatibility), that's another issue. Don't let's mix >> arguments for how smth should be and what the consequences will be.=20 > We're not in Platon's world of ideas. It's irrelevant how it should be.= > At the end of the day there are only actions and consequences. In the text above I'm showing concrete examples why the argument handling in GRUB is inconsistent and therefore buggy. I cannot remember that you even confirmed that it's inconsistent. I wonder why you don't discuss the example I am giving. Am I right with what i wrote? It's a real question and I hoped that i would get some constructive feedback. Maybe we are different in the way we're trying to solve issues: I'm trying to analyse a problem, see what is wrong and how it should be. Then I'm thinking about what can be done and what is acceptable and what are the consequences. Finally it's time for acting. So for me it's really strange that for you it's irrelevant how it should be. I just hoped that I could help by identifying and investigating a problem which I found out when working with GRUB. I wanted to show the current situation, the problem with it and what would need to be changed in my opinion. I'm really sorry to be told now that I failed and that my discussion is not welcomed. This was not my intention and, believe it or not, I just wanted to help. Andreas