X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=H8phnO eav9wBSfvv0QywiIn23UX71ie66oCRrfHeYlqmhRCY5qDY6KXRLV/eGNkShEUxGK zH2C7sPVIeKVqv/YHuqhkIy6snEGFT/O0g3/TLuc1uLzXLQ9s1b3FmeAzYnFr8xL zruknUyMTHe7xIrOVy9G5SPZ5nA6qOIy9Ucao= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=gtnllF28Vseu HkvP61lgfP9/ELM=; b=S7b7uuoIZti3lueRXZ/gq/Uooq7FF44PC+1v9TJ0puny kruPDLAMcv6B3Gh1dLvyx1JEMezSYouuk3C5bFkbAFKnk3xUw1ybqWWIcHpse1nm ewZ8swkVDOAwMHgGoHDZ0YAgepoHUGaAFsCPs8Cf+j91HvOm/LJ8zayCNHYhuBw= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <544A92F0.8030207@redhat.com> Date: Fri, 24 Oct 2014 11:57:04 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1 References: <14710326042 DOT 20141024202019 AT yandex DOT ru> In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="caPIQJNK1Sq9kqLb5eAIJ93smudTd87Pk" X-IsSubscribed: yes --caPIQJNK1Sq9kqLb5eAIJ93smudTd87Pk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/24/2014 11:28 AM, Keith Christian wrote: > uname_r () > { > uname -r | sed -e 's/[.(/\)]/_/g' | sed -e 's/\(.*\)\(_$\)/\1/' > } Or for one less fork and less typing: uname_r () { uname -r | sed 's/[.(/\)]/_/g; s/_$//' } --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --caPIQJNK1Sq9kqLb5eAIJ93smudTd87Pk 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSpLwAAoJEKeha0olJ0NqeeoH+wS0Ts5ecazrl8LMjG3DhZyl R0bfF+7txGNXi/seU3qdTLbY/LKrLAgFEPfNXqvTr3Ww9F6D693DrYcHuEwRnuIZ D6WdS2gbxpskix2H+wvfNUJB09AUJWiTdnrLzAJZ+S5DVJth2zLfa+AnaKl+lMCH Wgx1p1fjfUU4ouX6l+GW1SxIjUSu21hf+xhh3WKQgWkkRpGf41oYA5PBnWsC8aI2 QAjbqZREQb4yPFo8I3/03FcWPUtmsijppAtygSB7+IUj7mg3NsJcES6/rDOkzTmC DL3Nnnc1Na7ArIaZZUvk/edZ3xnapP1yh2/AHTyKlpGDVHViICDTSvfMvqHe+j4= =mKtg -----END PGP SIGNATURE----- --caPIQJNK1Sq9kqLb5eAIJ93smudTd87Pk--