head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	96.09.08.03.48.58;	author mphunter;	state Exp;
branches;
next	1.1;

1.1
date	96.09.08.03.42.55;	author mphunter;	state Exp;
branches;
next	;


desc
@@


1.2
log
@*** empty log message ***
@
text
@#!/usr/gnu/bash

# Written by Joseph Clancy (jclancy@@wimsey.com).
# Copyright (c) 1996, and placed under the GPL; see COPYING for further info.

if [ -z "$1" ]; then
  echo "Usage: snag http://host/path/filename.html [verbose]"
else
  export URL=$1
  snagit "$1" index.html $$.run 0 $2 $3 $4
  chmod +x $$.run 
  if [ -f "$$.run" ]; then
    $$.run
  fi
  if [ ! -f "$$.run.error" ]; then
    rm $$.run
  else
    echo "there were errors; see $$.run.error for affected urls"
  fi
fi


@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#!/bin/sh
@
