From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#31088: Use '@' as version number separator in guix output Date: Sat, 07 Apr 2018 22:28:55 +0530 Message-ID: <871sfr2bsg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4rCB-0001Jd-4H for bug-guix@gnu.org; Sat, 07 Apr 2018 13:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4rC7-0007ME-4K for bug-guix@gnu.org; Sat, 07 Apr 2018 13:00:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33557) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4rC7-0007M7-0W for bug-guix@gnu.org; Sat, 07 Apr 2018 13:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f4rC6-0002oD-Ow for bug-guix@gnu.org; Sat, 07 Apr 2018 13:00:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4rBA-0000r7-3g for bug-guix@gnu.org; Sat, 07 Apr 2018 12:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4rB6-0006qn-90 for bug-guix@gnu.org; Sat, 07 Apr 2018 12:59:04 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:42758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4rB6-0006qP-1o for bug-guix@gnu.org; Sat, 07 Apr 2018 12:59:00 -0400 Received: by mail-pf0-x229.google.com with SMTP id o16so2940409pfk.9 for ; Sat, 07 Apr 2018 09:58:59 -0700 (PDT) Received: from mimimi ([103.61.255.46]) by smtp.gmail.com with ESMTPSA id g11sm17249675pgu.56.2018.04.07.09.58.57 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 07 Apr 2018 09:58:58 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31088@debbugs.gnu.org --=-=-= Content-Type: text/plain At the moment it seems that there is no syntactic different between the name and the version number in the output of Guix. The other day I tried to extract the version number of package dependencies with "everything after the last '-'", until I stumbled on the following: > guix package --show=ncdu | recsel -R dependencies ncurses-6.0-20170930 Here the version number contains a '-'. Because of this it makes the problem undecidable I think. Would it be possible to separate the package name from the version number with '@' instead? -- Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlrI+M8ACgkQm9z0l6S7 zH/GqQf9EVSTCZYR99OL8A9qWx1H6WQhcwDPta4LNkirYTAY9GrcW/LeS4mLtcUC 9LwDr4XbYh+s14aS0s/bMIa2Q7iplK1koOekYyPvpuyq7MI+tteR2hFH1a6U2LKv 7MTBb8WvFjTkPx3H4tvHBHLun7MtSixOuvjLMOGOtJ3BU2KemYo3/iON8lCSID3s xgH+UCzeMIY4MISAcicm0MVBFEv3rMWCAkmIKd1AoBEFyqgzMXBmAy8p+n7UkH3B qROoXLc4fBcOfN7kGtPv4ZT8jjgm+b2g5lBcLdOMAcZt3jqauxPpeU3rb09z+XN/ ZLPI0xbNy5ReUxEo8EOjSVjp4X2DcA== =BjhV -----END PGP SIGNATURE----- --=-=-=--