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: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 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=-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 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 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: 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