"Dave Korn" <[EMAIL PROTECTED]> wrote in news:00be01c6945d$00463bb0
[EMAIL PROTECTED]:

> 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/

Reply via email to