X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-10.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4FD61BE4.4070604@redhat.com> Date: Mon, 11 Jun 2012 10:25:08 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: UNIX groups in CYGWIN References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig6CDE559DADC6CE623206824F" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig6CDE559DADC6CE623206824F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/11/2012 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > 2. Since Windows group names can embed spaces, the output of the "groups"= shell command 'groups' is no longer a shell command, but an executable, for several coreutils releases now. > is unparsable in CYGWIN (scripting becomes problematic), because the s= pace is used both > in the group names (as obtained from Windows) and to delimit the group= names in the groups' > output: Such a proposal should be made to upstream coreutils, as it could possibly be of benefit to more platforms than just cygwin. > Perhaps CYGWIN could have used a tab to separate the group names? What's to say that 'TAB' won't be valid in a group name? > Or list each group on an individual line? An option to request alternative output format (whether that be line-separated, or even NUL-byte separated) might indeed be more palatable. --=20 Eric Blake eblake AT redhat DOT com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig6CDE559DADC6CE623206824F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP1hvkAAoJEKeha0olJ0NqWo4H/0IK9JFpGMFP1mkIBfAV2QVL XnLm149Jwl4xyK9uxN3HypX0E53P3OHGQUaWm/WLGXt0otwZoYYj8iCPFY643zba ImRsB3ygXLGaaHGUDrg+tOGzdYfVO3BMiRkpYTcHC9rkXptVrtgXBAcYsIzFpu6R zd59HWfRwHhmhFwpI2Pdt/36YMcQpjmoAIitxC5MDXasFN6uha5cutXt232a/Jmz 0rZ9LQ5KssNORmstMqSDfa7AX2J+Qvo7wK1dKhyMVVUPMjHG0tg8zyMwV+P2kp2Q swmacIwmHIjRypOATjohbAFccDiSjnVemdQpPfH5F7j6LW9fJlFlecIAEK83RAE= =ifzA -----END PGP SIGNATURE----- --------------enig6CDE559DADC6CE623206824F--