#!/bin/csh -f # Script to grep the acclog_https. Useful as: # ssh remote_host acclog_https_grep_404 # which sends only the matched lines across the wire, as opposed to: # ssh remote_host acclog_https | grep " 404 " # which sends all lines across the wire and filters locally # Also, preserves the spaces around the 404 which are lost by: # ssh remote_host acclog_https_grep " 404 " # - This last reason is no longer valid, since acclog_https_grep is fixed. # Could delete this file and just use: # ssh remote_host acclog_https_grep "GET /Tips" acclog_https | grep --color " 404 "