#!/bin/sh # This is a shar archive. # The rest of this file is a shell script which will extract: # # 2_14.c 2_14a1.c 2_14a2.c 2_14a3.c 2_14a4.c 2_14a5.c 2_14a6.c 2_14a7.c 2_14a8.c makefile # # To extract the files from this shell archive file simply # create a directory for this file, move the archive file # to it and enter the command # # sh filename # # The files will be extracted automatically. # Note: Do not use csh. # # Archive created: Mon Jul 30 22:55:35 EDT 1990 # echo x - 2_14.c sed 's/^X//' > 2_14.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ #include "2_14a1.c" #include "2_14a2.c" #include "2_14a3.c" #include "2_14a4.c" #include "2_14a5.c" #include "2_14a6.c" #include "2_14a7.c" #include "2_14a8.c" !EOF! ls -l 2_14.c echo x - 2_14a1.c sed 's/^X//' > 2_14a1.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef unsigned char uc; !EOF! ls -l 2_14a1.c echo x - 2_14a2.c sed 's/^X//' > 2_14a2.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef const unsigned char cuc; !EOF! ls -l 2_14a2.c echo x - 2_14a3.c sed 's/^X//' > 2_14a3.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef int *pi; !EOF! ls -l 2_14a3.c echo x - 2_14a4.c sed 's/^X//' > 2_14a4.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef char **ppc; !EOF! ls -l 2_14a4.c echo x - 2_14a5.c sed 's/^X//' > 2_14a5.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef char (*x)[][7]; !EOF! ls -l 2_14a5.c echo x - 2_14a6.c sed 's/^X//' > 2_14a6.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef int *piv[7]; !EOF! ls -l 2_14a6.c echo x - 2_14a7.c sed 's/^X//' > 2_14a7.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef int *(*pi7)[7]; !EOF! ls -l 2_14a7.c echo x - 2_14a8.c sed 's/^X//' > 2_14a8.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ typedef int *p[8][7]; !EOF! ls -l 2_14a8.c echo x - makefile sed 's/^X//' > makefile << '!EOF!' CC= CC -I. -I../../CC all: 2_14 2_14: 2_14.c 2_14a1.c 2_14a2.c 2_14a3.c 2_14a4.c 2_14a5.c 2_14a6.c 2_14a7.c 2_14a8.c $(CC) -c 2_14.c test: all echo tests done !EOF! ls -l makefile # The following exit is to ensure that extra garbage # after the end of the shar file will be ignored. exit 0