discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] New build-gnuradio


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] New build-gnuradio
Date: Sat, 23 Jul 2011 13:16:30 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11

On 07/23/2011 12:27 PM, Josh Blum wrote:

Is it because the version names changed?

Can you wget the whole directory and pick out the first tar.gz file?

This is what I now do:

    #
    # First, get listing of ettus.com/downloads/uhd_releases/master_images
    # We use spider mode, and use -r to descend
    #
wget -np -r --spider http://www.ettus.com/downloads/uhd_releases/master_images >tmp$$ 2>&1

    #
# Now search the resulting log file for .tar.gz files that match the appropriate
    #   pattern.
    #
grep 'UHD-images.*tar.gz' tmp$$ |sed -e 'address@hidden @http://@' |sort -r |head -1 >tmp2$$

Then

    #
    # Fetch the tar file (whose name is in ../tmp2$$)
    #
    fn=`cat ../tmp2$$|sed -e s/.$//`
    wget -nd $fn >/dev/null 2>&1


--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]