config() {
  NEW="$1"
  OLD="$(dirname $NEW)/$(basename $NEW .new)"
  # If there's no config file by that name, mv it over:
  if [ ! -r $OLD ]; then
    mv $NEW $OLD
  elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
    # toss the redundant copy
    rm $NEW
  fi
  # Otherwise, we leave the .new copy for the admin to consider...
}

config etc/xdg/surfraw/conf.new
config etc/xdg/surfraw/bookmarks.new

( cd usr/bin ; rm -rf sr )
( cd usr/bin ; ln -sf surfraw sr )
( cd usr/man/man1 ; rm -rf S.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz S.1sr.gz )
( cd usr/man/man1 ; rm -rf W.1.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz W.1.gz )
( cd usr/man/man1 ; rm -rf acronym.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz acronym.1sr.gz )
( cd usr/man/man1 ; rm -rf ads.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz ads.1sr.gz )
( cd usr/man/man1 ; rm -rf alioth.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz alioth.1sr.gz )
( cd usr/man/man1 ; rm -rf amazon.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz amazon.1sr.gz )
( cd usr/man/man1 ; rm -rf archpkg.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz archpkg.1sr.gz )
( cd usr/man/man1 ; rm -rf archwiki.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz archwiki.1sr.gz )
( cd usr/man/man1 ; rm -rf arxiv.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz arxiv.1sr.gz )
( cd usr/man/man1 ; rm -rf ask.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz ask.1sr.gz )
( cd usr/man/man1 ; rm -rf aur.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz aur.1sr.gz )
( cd usr/man/man1 ; rm -rf austlii.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz austlii.1sr.gz )
( cd usr/man/man1 ; rm -rf bbcnews.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz bbcnews.1sr.gz )
( cd usr/man/man1 ; rm -rf bing.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz bing.1sr.gz )
( cd usr/man/man1 ; rm -rf bookfinder.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz bookfinder.1sr.gz )
( cd usr/man/man1 ; rm -rf bugmenot.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz bugmenot.1sr.gz )
( cd usr/man/man1 ; rm -rf bugzilla.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz bugzilla.1sr.gz )
( cd usr/man/man1 ; rm -rf cia.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz cia.1sr.gz )
( cd usr/man/man1 ; rm -rf cite.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz cite.1sr.gz )
( cd usr/man/man1 ; rm -rf cliki.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz cliki.1sr.gz )
( cd usr/man/man1 ; rm -rf cnn.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz cnn.1sr.gz )
( cd usr/man/man1 ; rm -rf comlaw.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz comlaw.1sr.gz )
( cd usr/man/man1 ; rm -rf commandlinefu.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz commandlinefu.1sr.gz )
( cd usr/man/man1 ; rm -rf ctan.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz ctan.1sr.gz )
( cd usr/man/man1 ; rm -rf currency.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz currency.1sr.gz )
( cd usr/man/man1 ; rm -rf cve.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz cve.1sr.gz )
( cd usr/man/man1 ; rm -rf debbugs.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debbugs.1sr.gz )
( cd usr/man/man1 ; rm -rf debcodesearch.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debcodesearch.1sr.gz )
( cd usr/man/man1 ; rm -rf debcontents.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debcontents.1sr.gz )
( cd usr/man/man1 ; rm -rf deblists.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz deblists.1sr.gz )
( cd usr/man/man1 ; rm -rf deblogs.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz deblogs.1sr.gz )
( cd usr/man/man1 ; rm -rf debpackages.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debpackages.1sr.gz )
( cd usr/man/man1 ; rm -rf debpkghome.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debpkghome.1sr.gz )
( cd usr/man/man1 ; rm -rf debpts.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debpts.1sr.gz )
( cd usr/man/man1 ; rm -rf debsec.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debsec.1sr.gz )
( cd usr/man/man1 ; rm -rf debvcsbrowse.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debvcsbrowse.1sr.gz )
( cd usr/man/man1 ; rm -rf debwiki.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz debwiki.1sr.gz )
( cd usr/man/man1 ; rm -rf deja.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz deja.1sr.gz )
( cd usr/man/man1 ; rm -rf discogs.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz discogs.1sr.gz )
( cd usr/man/man1 ; rm -rf duckduckgo.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz duckduckgo.1sr.gz )
( cd usr/man/man1 ; rm -rf ebay.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz ebay.1sr.gz )
( cd usr/man/man1 ; rm -rf etym.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz etym.1sr.gz )
( cd usr/man/man1 ; rm -rf excite.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz excite.1sr.gz )
( cd usr/man/man1 ; rm -rf finkpkg.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz finkpkg.1sr.gz )
( cd usr/man/man1 ; rm -rf foldoc.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz foldoc.1sr.gz )
( cd usr/man/man1 ; rm -rf freebsd.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz freebsd.1sr.gz )
( cd usr/man/man1 ; rm -rf freedb.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz freedb.1sr.gz )
( cd usr/man/man1 ; rm -rf freshmeat.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz freshmeat.1sr.gz )
( cd usr/man/man1 ; rm -rf fsfdir.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz fsfdir.1sr.gz )
( cd usr/man/man1 ; rm -rf gcache.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz gcache.1sr.gz )
( cd usr/man/man1 ; rm -rf genbugs.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz genbugs.1sr.gz )
( cd usr/man/man1 ; rm -rf genportage.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz genportage.1sr.gz )
( cd usr/man/man1 ; rm -rf github.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz github.1sr.gz )
( cd usr/man/man1 ; rm -rf google.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz google.1sr.gz )
( cd usr/man/man1 ; rm -rf gutenberg.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz gutenberg.1sr.gz )
( cd usr/man/man1 ; rm -rf imdb.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz imdb.1sr.gz )
( cd usr/man/man1 ; rm -rf ixquick.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz ixquick.1sr.gz )
( cd usr/man/man1 ; rm -rf jamendo.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz jamendo.1sr.gz )
( cd usr/man/man1 ; rm -rf javasun.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz javasun.1sr.gz )
( cd usr/man/man1 ; rm -rf l1sp.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz l1sp.1sr.gz )
( cd usr/man/man1 ; rm -rf lastfm.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz lastfm.1sr.gz )
( cd usr/man/man1 ; rm -rf leodict.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz leodict.1sr.gz )
( cd usr/man/man1 ; rm -rf lsm.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz lsm.1sr.gz )
( cd usr/man/man1 ; rm -rf macports.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz macports.1sr.gz )
( cd usr/man/man1 ; rm -rf mathworld.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz mathworld.1sr.gz )
( cd usr/man/man1 ; rm -rf mdn.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz mdn.1sr.gz )
( cd usr/man/man1 ; rm -rf mininova.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz mininova.1sr.gz )
( cd usr/man/man1 ; rm -rf musicbrainz.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz musicbrainz.1sr.gz )
( cd usr/man/man1 ; rm -rf mysqldoc.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz mysqldoc.1sr.gz )
( cd usr/man/man1 ; rm -rf netbsd.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz netbsd.1sr.gz )
( cd usr/man/man1 ; rm -rf ntrs.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz ntrs.1sr.gz )
( cd usr/man/man1 ; rm -rf openbsd.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz openbsd.1sr.gz )
( cd usr/man/man1 ; rm -rf oraclesearch.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz oraclesearch.1sr.gz )
( cd usr/man/man1 ; rm -rf pgdoc.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz pgdoc.1sr.gz )
( cd usr/man/man1 ; rm -rf pgpkeys.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz pgpkeys.1sr.gz )
( cd usr/man/man1 ; rm -rf phpdoc.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz phpdoc.1sr.gz )
( cd usr/man/man1 ; rm -rf pin.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz pin.1sr.gz )
( cd usr/man/man1 ; rm -rf piratebay.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz piratebay.1sr.gz )
( cd usr/man/man1 ; rm -rf priberam.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz priberam.1sr.gz )
( cd usr/man/man1 ; rm -rf pubmed.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz pubmed.1sr.gz )
( cd usr/man/man1 ; rm -rf rae.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz rae.1sr.gz )
( cd usr/man/man1 ; rm -rf rfc.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz rfc.1sr.gz )
( cd usr/man/man1 ; rm -rf scholar.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz scholar.1sr.gz )
( cd usr/man/man1 ; rm -rf scpan.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz scpan.1sr.gz )
( cd usr/man/man1 ; rm -rf searx.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz searx.1sr.gz )
( cd usr/man/man1 ; rm -rf slashdot.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz slashdot.1sr.gz )
( cd usr/man/man1 ; rm -rf slinuxdoc.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz slinuxdoc.1sr.gz )
( cd usr/man/man1 ; rm -rf sourceforge.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz sourceforge.1sr.gz )
( cd usr/man/man1 ; rm -rf springer.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz springer.1sr.gz )
( cd usr/man/man1 ; rm -rf sr.1.gz )
( cd usr/man/man1 ; ln -sf surfraw.1.gz sr.1.gz )
( cd usr/man/man1 ; rm -rf stack.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz stack.1sr.gz )
( cd usr/man/man1 ; rm -rf stockquote.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz stockquote.1sr.gz )
( cd usr/man/man1 ; rm -rf thesaurus.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz thesaurus.1sr.gz )
( cd usr/man/man1 ; rm -rf translate.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz translate.1sr.gz )
( cd usr/man/man1 ; rm -rf urban.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz urban.1sr.gz )
( cd usr/man/man1 ; rm -rf w3css.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz w3css.1sr.gz )
( cd usr/man/man1 ; rm -rf w3html.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz w3html.1sr.gz )
( cd usr/man/man1 ; rm -rf w3link.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz w3link.1sr.gz )
( cd usr/man/man1 ; rm -rf w3rdf.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz w3rdf.1sr.gz )
( cd usr/man/man1 ; rm -rf wayback.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz wayback.1sr.gz )
( cd usr/man/man1 ; rm -rf webster.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz webster.1sr.gz )
( cd usr/man/man1 ; rm -rf wikipedia.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz wikipedia.1sr.gz )
( cd usr/man/man1 ; rm -rf wiktionary.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz wiktionary.1sr.gz )
( cd usr/man/man1 ; rm -rf woffle.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz woffle.1sr.gz )
( cd usr/man/man1 ; rm -rf wolfram.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz wolfram.1sr.gz )
( cd usr/man/man1 ; rm -rf worldwidescience.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz worldwidescience.1sr.gz )
( cd usr/man/man1 ; rm -rf yahoo.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz yahoo.1sr.gz )
( cd usr/man/man1 ; rm -rf yandex.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz yandex.1sr.gz )
( cd usr/man/man1 ; rm -rf youtube.1sr.gz )
( cd usr/man/man1 ; ln -sf elvi.1sr.gz youtube.1sr.gz )
