summaryrefslogtreecommitdiff
path: root/dist/newalpha
blob: 2aa50117c9a1b4ff4842938adfcf5d706e2aff68 (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
#	$Header: /usr/people/sam/tiff/dist/RCS/newalpha,v 1.1 1994/12/17 18:27:58 sam Rel $
if test -r tiff.alpha; then
    ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
    echo "$ALPHA" | awk '{ printf "define ALPHA %03d\n", $3+1}' > tiff.alpha
else
    echo "define ALPHA 001" >tiff.alpha
fi