#!/bin/sh # This is a shar archive. # The rest of this file is a shell script which will extract: # # 3_6.c 3_6a.c 3_6b.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:22 EDT 1990 # echo x - 3_6.c sed 's/^X//' > 3_6.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ *(p++) *(--p) ++(a--) (int *)(p->m) *(p.m) *(a[i]) !EOF! ls -l 3_6.c echo x - 3_6a.c sed 's/^X//' > 3_6a.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ *p++ *--p ++a-- (int *)p->m *p.m *a[i] !EOF! ls -l 3_6a.c echo x - 3_6b.c sed 's/^X//' > 3_6b.c << '!EOF!' /* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */ /* The C++ Answer Book */ /* Tony Hansen */ /* All rights reserved. */ *(p++) *(--p) ++(a--) (int *)(p->m) *(p.m) *(a[i]) !EOF! ls -l 3_6b.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