#!/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 " acclog_https | grep --color " 500 "