source: trunk/third/tcsh/MAKEDIFFS @ 9006

Revision 9006, 989 bytes checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9005, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2#
3# MAKEDIFFS.sh: Make context diffs for the csh sources
4#
5# $Id: MAKEDIFFS,v 1.1.1.1 1996-10-02 06:09:30 ghudson Exp $
6XINUDIR=/usr/share/src/mtXinu/bin/csh
7BSDDIR=/usr/share/src/mtXinu/BSD/bin/csh
8TAHOEDIR=/usr/share/src/mtXinu/TAHOE/bin/csh
9RENODIR=/usr/share/src/mtXinu/RENO/bin/csh
10TCSHDIR=`pwd`
11case "x$1" in
12xxinu)
13    CSHDIR=$XINUDIR;;
14xbsd)
15    CSHDIR=$BSDDIR;;
16xtahoe)
17    CSHDIR=$TAHOEDIR;;
18xreno)
19    CSHDIR=$RENODIR;;
20x*)
21    echo "Usage: `basename $0` [bsd|tahoe|xinu|reno]";exit 1;;
22esac
23DIFF1='sh.c sh.char.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.exp.c sh.file.c'
24DIFF2='sh.func.c sh.glob.c sh.hist.c sh.init.c sh.lex.c sh.misc.c sh.parse.c sh.print.c'
25DIFF3='sh.proc.c sh.sem.c sh.set.c sh.time.c sh.char.h sh.dir.h sh.h sh.local.h sh.proc.h'
26
27for i in $DIFF1
28do
29    diff -c $CSHDIR/$i $TCSHDIR/$i
30done > DIFFS.1
31
32for i in $DIFF2
33do
34    diff -c $CSHDIR/$i $TCSHDIR/$i
35done > DIFFS.2
36
37for i in $DIFF3
38do
39    diff -c $CSHDIR/$i $TCSHDIR/$i
40done > DIFFS.3
41exit 0
Note: See TracBrowser for help on using the repository browser.