/home/a/aquarion/sites/www.aquarionics.com/epistula/contrib/ljfriends.sh
All my code (That is, anything not in the "Others" list on the right) is BSD licenced.
You can also view this page as text/plain or colour-coded source
#!/bin/bash
ljaccount="aquarionical"
wget="wget"
file="/home/webusers/aquarion/sites/aquarionics/data/ljfriends.txt"
if [[ -e $file.bak ]]
then
rm $file.bak
fi
if [[ -e $file ]]
then
mv $file $file.bak
fi
$wget -qq http://www.livejournal.com/misc/fdata.bml?user=$ljaccount -O $file
if [[ -e $file.bak ]]
then
diff $file.bak $file
fi
Using a heavily customised version of Tom's PHPCode2ValidXHTML Thing