X-Recipient: archive-cygwin@delorie.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:content-transfer-encoding;
	 q=dns; s=default; b=iik1vXkMpV4V82e97NIfQaxprNP6in0f9HOjK1qdCNH
	4UXtx6ZRBwESS5JNLiDSJxtL3/izTE2YIQdUpaHaNmPswMjZYPoYZhe0tB8CtVS0
	Up18/zz61PFT648HyHe//466nU2lq9uejSCJNZ8dOe7cRVJgjZAEbclH/SYnTUYE
	=
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:content-transfer-encoding;
	 s=default; bh=wk1F6sE5Xvnw4sLwHsNfhUJmJ2s=; b=H8dmwhkgWBn7yeM9S
	1fkzlGdxy5tZmgJ15Nu1/OkfJXjKa2yGtvpOB266esgTHHLY/RhdUsEQamyYVuX/
	OT6aoXwcd2WTQCnoIWJa6CNAYlK+35ts0eSVX20sQBKk9HAmiPbpyT7HqxbiHkMk
	HE9f7xSDkRb5BXEmSSa6niChyA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mout.kundenserver.de
Message-ID: <544A975B.90606@towo.net>
Date: Fri, 24 Oct 2014 20:15:55 +0200
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1
References: <announce.20141022092323.GH32374@calimero.vinschen.de>	<14710326042.20141024202019@yandex.ru> <CAFWoy7Gz24smNHe7Fr7juqiWT9xhjGPxF2fKeaEYmLmRZOZ8dg@mail.gmail.com>
In-Reply-To: <CAFWoy7Gz24smNHe7Fr7juqiWT9xhjGPxF2fKeaEYmLmRZOZ8dg@mail.gmail.com>
X-TagToolbar-Keys: D20141024201555876
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes

Am 24.10.2014 19:28, schrieb Keith Christian:
> Here's a function for you Andrey, in appreciation for all the work you
> contribute to Cygwin:
>
>
> type uname_r
> uname_r is a function
>
>
> uname_r ()
> {
>      uname -r | sed -e 's/[.(/\)]/_/g' | sed -e 's/\(.*\)\(_$\)/\1/'
> }
>
>
> uname_r
> 1_7_32_0_274_5_3
How about:
function uname-r () {
     uname -r|sed -e 's,(,-,' -e 's,/,_,g' -e 's,),,'
}
uname-r
1.7.33-0.278_5_3


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

