#!/bin/sh if [ $# -ne 2 ]; then echo $0 2002 by Ulf Rompe echo Outputs differences of two bookmark files in HTML echo Syntax: $0 ' ' exit 1 fi for file in $*; do if [ ! -r $file ]; then echo $file is not readable exit 2 fi done diff=`diff $* | grep -A1 '' | $sed` cat <Differences between $1 and $2

Differences between $1 and $2

Bookmarks found in $1 onlyBookmarks found in $2 only
$file1$file2
EOF