source: trunk/athena/etc/ftpd/newvers.sh @ 6087

Revision 6087, 1.0 KB checked in by cfields, 33 years ago (diff)
Took awk stuff out of script and put into newvers.awk to make things work on the RS/6000.
Line 
1#!/bin/sh -
2#
3# Copyright (c) 1983 The Regents of the University of California.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms are permitted
7# provided that the above copyright notice and this paragraph are
8# duplicated in all such forms and that any documentation,
9# advertising materials, and other materials related to such
10# distribution and use acknowledge that the software was developed
11# by the University of California, Berkeley.  The name of the
12# University may not be used to endorse or promote products derived
13# from this software without specific prior written permission.
14# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17#
18#       @(#)newvers.sh  5.3 (Berkeley) 10/31/88
19#
20if [ ! -r version ]; then echo 0 > version; fi
21/bin/rm -f vers.c
22/bin/mv -f version version.old
23awk -f newvers.awk < version.old
24/bin/rm -f version.old
25echo `date`'";' >> vers.c
Note: See TracBrowser for help on using the repository browser.