Deutsch English Français Italiano |
<66062301$0$2568$426a34cc@news.free.fr> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp3-2.free.fr!not-for-mail Date: Fri, 29 Mar 2024 03:10:11 +0100 From: Cyrille Lefevre <Cyrille.Lefevre-news%nospam@laposte.net.invalid> Newsgroups: comp.unix.shell Subject: Re: how to capture only 7 or 8 in /etc/redhat-release References: <c617ead2-f74c-442a-a072-2e5d620ad183n@googlegroups.com> Organization: ACME X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Lines: 14 Message-ID: <66062301$0$2568$426a34cc@news.free.fr> NNTP-Posting-Date: 29 Mar 2024 03:10:09 CET NNTP-Posting-Host: 82.65.102.225 X-Trace: 1711678209 news-4.free.fr 2568 82.65.102.225:58782 X-Complaints-To: abuse@proxad.net Bytes: 1313 Le Mon, 5 Jun 2023 05:23:27 -0700 (PDT), Neeraj Kumar <neeraj.friendslover@= gmail.com> a =E9crit : > I have two version; please help me to get the version in the form of 7 or= 8 osver=3D$(tr -cd 0-9 < /etc/redhat-release) minor=3D%${osver#?} major=3D${osver%${osver#?}} Regards --=20 mailto:Cyrille.Lefevre-news%nospam@laposte.net.invalid remove "%nospam" and ".invalid" to answer me.