basically replaces lynx (or elinks, whatever), grep, and sed - example: lynx -dump $url/downloads/|grep tar.bz2|sed 's/.*-\(.*\)\.t.*/\1/' - new syntax should be: dumpver url grep-parameters [-n] sed-parameters - if the 3rd parameter is -n, then use sed -n $4 - if not, use sed $3 if url starts with http://, lynx-like output is important regarding: - dumpver should process html tags like lynx - the references table at the bottom of the page if url starts with ftp://, a 'wget --passive-ftp -O - -q'-like output is required (this will be a html-source-like output) should handle timouts, so should return with an error code if can't make the wished output in n secons (could be hardcoded, a constant at the top of the script if fine)