~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to version.sh

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 08:58:26 UTC
  • Revision ID: git-v1:765c7494b3dac62207e6cd57fb839997e237f292
Moving to 2.13.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
 
3
 
# version.sh --- create version.c
4
 
 
5
 
if [ "x$1" = "x" ]
6
 
then
7
 
        echo you must specify a release number on the command line
8
 
        exit 1
9
 
fi
10
 
 
11
 
RELEASE="$1"
12
 
 
13
 
cat << EOF
14
 
char *version_string = "@(#)Gnu Awk (gawk) ${RELEASE}";
15
 
 
16
 
/* 1.02         fixed /= += *= etc to return the new Left Hand Side instead
17
 
                of the Right Hand Side */
18
 
 
19
 
/* 1.03         Fixed split() to treat strings of space and tab as FS if
20
 
                the split char is ' '.
21
 
 
22
 
                Added -v option to print version number
23
 
                
24
 
                Fixed bug that caused rounding when printing large numbers  */
25
 
 
26
 
/* 2.00beta     Incorporated the functionality of the "new" awk as described
27
 
                the book (reference not handy).  Extensively tested, but no 
28
 
                doubt still buggy.  Badly needs tuning and cleanup, in
29
 
                particular in memory management which is currently almost
30
 
                non-existent. */
31
 
 
32
 
/* 2.01         JF:  Modified to compile under GCC, and fixed a few
33
 
                bugs while I was at it.  I hope I didn't add any more.
34
 
                I modified parse.y to reduce the number of reduce/reduce
35
 
                conflicts.  There are still a few left. */
36
 
 
37
 
/* 2.02         Fixed JF's bugs; improved memory management, still needs
38
 
                lots of work. */
39
 
 
40
 
/* 2.10         Major grammar rework and lots of bug fixes from David.
41
 
                Major changes for performance enhancements from David.
42
 
                A number of minor bug fixes and new features from Arnold.
43
 
                Changes for MSDOS from Conrad Kwok and Scott Garfinkle.
44
 
                The gawk.texinfo and info files included! */
45
 
 
46
 
/* 2.11         Bug fix release to 2.10.  Lots of changes for portability,
47
 
                speed, and configurability.  */
48
 
EOF
49
 
exit 0