#! /bin/sh
#
# @(#)sccswho   1.1 11/4/88
#
# sccswho: who changed this line?
#
# THIS SAMPLE PROGRAM IS BEING PROVIDED "AS IS" AND ONLY AS A COURTESY TO
# THE RECIPIENT.  SUN MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS 
# OR IMPLIED WITH RESPECT TO THIS SAMPLE PROGRAM INCLUDING QUALITY, PERF- 
# FORMANCE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON- 
# INFRINGEMENT.  IN NO EVENT WILL SUN BE LIABLE FOR ANY DIRECT, INDIRECT,  
# SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR  
# INABILITY TO USE THIS SAMPLE PROGRAM.

usage () {
    echo "Usage: `basename $0` file lineno"
}

if [ $# -ne 2 ]; then
    usage
    exit 1
fi

# check to see if lineno is valid
# check to see if file is valid

sccs prs -r`sccs get -s -m -p $1 | sed -n -e $2p | cut -f1` $1
