script.c (e292a0e3f1426e75dca5476fb138f368b489a3f0) | script.c (4294ff16a71fdc03ab7b1dc1df70caa25488d853) |
---|---|
1/* 2 * Copyright (c) 1980, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 196 unchanged lines hidden (view full) --- 205 finish(); 206 done(0); 207} 208 209static void 210usage(void) 211{ 212 (void)fprintf(stderr, | 1/* 2 * Copyright (c) 1980, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 196 unchanged lines hidden (view full) --- 205 finish(); 206 done(0); 207} 208 209static void 210usage(void) 211{ 212 (void)fprintf(stderr, |
213 "usage: script [-a] [-q] [-k] [-t time] [file] [command]\n"); | 213 "usage: script [-akq] [-t time] [file [command ...]]\n"); |
214 exit(1); 215} 216 217void 218finish(void) 219{ 220 pid_t pid; 221 int die, e, status; --- 62 unchanged lines hidden --- | 214 exit(1); 215} 216 217void 218finish(void) 219{ 220 pid_t pid; 221 int die, e, status; --- 62 unchanged lines hidden --- |