This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Oct 2014 20:15:55 +0200
- Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 20141022092323 dot GH32374 at calimero dot vinschen dot de> <14710326042 dot 20141024202019 at yandex dot ru> <CAFWoy7Gz24smNHe7Fr7juqiWT9xhjGPxF2fKeaEYmLmRZOZ8dg at mail dot gmail dot com>
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