delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | zzapper <david AT tvis DOT co DOT uk> |
Subject: | RE: Suggestion: add "setup.exe" version number to Cygwin home page |
Date: | Tue, 20 Jun 2006 14:04:38 +0000 (UTC) |
Lines: | 21 |
Message-ID: | <Xns97E8995ABA972zzappergmailcom@80.91.229.5> |
References: | <31DDB7BE4BF41D4888D41709C476B65704168B42 AT NIHCESMLBX5 DOT nih DOT gov> <00be01c6945d$00463bb0$a501a8c0 AT CAM DOT ARTIMI DOT COM> |
User-Agent: | Xnews/5.04.25 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
"Dave Korn" <dave DOT korn AT artimi DOT com> wrote in news:00be01c6945d$00463bb0 $a501a8c0 AT CAM DOT ARTIMI DOT COM: > pushd >/dev/null /tmp && wget 2>/dev/null `cat > /etc/setup/last-mirror`/setup.bz2 && ( bunzip2 -c setup.bz2 | grep > setup-version | cut -f2 -d' ' ) && popd >/dev/null > How this works AFAICT The meat is here wget `cat /etc/setup/last-mirror`/setup.bz2 && ( bunzip2 -c setup.bz2 | grep setup-version | cut -f2 -d' ' ) pushd # save current directory >/dev/null # suppress output from pushd /tmp # move to /tmp 2>/dev/null # suppresses a lot of wget's "noise" popd >/dev/null # return to original directory , suppressing "noise" -- http://successtheory.com/tips/ Vim, Zsh, MySQL Tips -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |