[sword-devel] Monitoring the sources for our modules?

Jonathan Marsden jmarsden at fastmail.fm
Sun Sep 6 19:55:22 MST 2009

David Haslam wrote:

> http://home.snafu.de/tilman/xenulink.html Xenu's Linksleuth , but first
> someone would have to generate a single page containing a table listing
> every module in one column, and the "supplier" URL (from the conf files) in
> another.

Here's an improved version.  Not exactly readable, but appears to work.
 Still a (long) oneliner :)

wget -O- -q ftp://ftp.crosswire.org/pub/sword/raw/mods.d.tar.gz |tar
zxOf - |egrep "^\[|TextSource=.*http" |sed -e 's/^.*http/http/' -e
's/,.*$//' |tr '\n' ' ' |sed -e 's/\(http[^ ]\+ \)/\1\n/g' |sed -e
's/^.*\(\[.*\]\)/\1/' |head --lines=-1

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: modules2.txt
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20090906/c47f0dbf/attachment.txt>

More information about the sword-devel mailing list