#!/bin/sh # This is a shar archive. # The rest of this file is a shell script which will extract: # # 3_8a.c 3_8b.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:59:37 EDT 1990 # echo x - 3_8a.c sed 's/^X//' > 3_8a.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ a := b+1; if (a = 3) // ... if (a&077 == 0) // ... !EOF! ls -l 3_8a.c echo x - 3_8b.c sed 's/^X//' > 3_8b.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ a = b+1; if (a == 3) // ... if ((a&077) == 0) // ... !EOF! ls -l 3_8b.c echo x - makefile sed 's/^X//' > makefile << '!EOF!' test: @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