File: newalpha

package info (click to toggle)
libtiff3 3.4beta037-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,732 kB
  • ctags: 3,274
  • sloc: ansic: 32,425; sh: 2,610; makefile: 1,515
file content (8 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#! /bin/sh
#	$Header: /d1/sam/tiff/dist/RCS/newalpha,v 1.1 1994/12/17 18:27:58 sam Exp $
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