#!/bin/csh 
# Version     4/11/94

# encodep.csh
# Extracts i & j coordinates from book to be written to line 1 of
# encodep

# Get i & j coordinates
set BOOK  = $1
set I = `head -1  $BOOK | sed -e "s/.*beginning from //" | cut -f1 -d" "`
set J = `head -1  $BOOK | sed -e "s/.*beginning from //" | cut -f3 -d" "`

#Create encodep file.
echo $I  $J
echo 1
echo 1
echo 1
echo 1
