On Fri, May 7, 2010 at 6:08 PM, xinglp wrote: > like this > a6de1cc6434cd64038b0a0ae4e252b33 autoconf-2.65.tar.bz2 > c2972c4d9b3e29c03d5f2af86249876f automake-1.11.1.tar.bz2 > 9800d8724815fd84994d9be65ab5e7b8 bash-4.1.tar.gz > just like it `make` create wget-list
I may have misunderstood your question, but the following worked for me: wget "http://www.linuxfromscratch.org/lfs/view/stable/chapter03/packages.html" wget "http://www.linuxfromscratch.org/lfs/view/stable/chapter03/patches.html" wget http://www.linuxfromscratch.org/lfs/view/stable/wget-list # The following 2 lines extract the md5sums from the web pages # It relies on both the wget-list and html listings being in alphabetical order # and on a very specific format of the html (probably unwise but works for now). sed -n -e 's/^.*"literal">\([a-z0-9A-Z]\+\)<\/code>/\1/p' packages.html > md5s sed -n -e 's/^.*"literal">\([a-z0-9A-Z]\+\)<\/code>/\1/p' patches.html >> md5s paste md5s wget-list > outfile 'outfile' contains what I think you are asking for (or perhaps md5sums does?). -- Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /[email protected]/') -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
