Status field is now Comment field
[unix-history] / usr / src / libexec / ftpd / newvers.sh
CommitLineData
f644bb55
DF
1#!/bin/sh -
2#
3# Copyright (c) 1983 Regents of the University of California.
4# All rights reserved. The Berkeley software License Agreement
5# specifies the terms and conditions for redistribution.
6#
7# @(#)newvers.sh 5.1 (Berkeley) %G%
8#
55f2f310
SL
9if [ ! -r version ]; then echo 0 > version; fi
10touch version
11awk ' { version = $1 + 1; }\
12END { printf "char version[] = \"Version 4.%d ", version > "vers.c";\
13 printf "%d\n", version > "version"; }' < version
14echo `date`'";' >> vers.c