#!/bin/csh -f # Script to grep the acclog_https. Useful as: # ssh remote_host acclog_https_grep_500 # which sends only the matched lines across the wire, as opposed to: # ssh remote_host acclog_https | grep " 500 " # which sends all lines across the wire and filters locally # Also, preserves the spaces around the 500 which are lost by: # ssh remote_host acclog_https_grep " 500 " # - 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 " 500 "