grid.c (1967B)
1 /* 2 * grep - search a file for a pattern 3 * 4 * Gunnar Ritter, Freiburg i. Br., Germany, April 2001. 5 */ 6 /* 7 * Copyright (c) 2003 Gunnar Ritter 8 * 9 * This software is provided 'as-is', without any express or implied 10 * warranty. In no event will the authors be held liable for any damages 11 * arising from the use of this software. 12 * 13 * Permission is granted to anyone to use this software for any purpose, 14 * including commercial applications, and to alter it and redistribute 15 * it freely, subject to the following restrictions: 16 * 17 * 1. The origin of this software must not be misrepresented; you must not 18 * claim that you wrote the original software. If you use this software 19 * in a product, an acknowledgment in the product documentation would be 20 * appreciated but is not required. 21 * 22 * 2. Altered source versions must be plainly marked as such, and must not be 23 * misrepresented as being the original software. 24 * 25 * 3. This notice may not be removed or altered from any source distribution. 26 */ 27 28 #if __GNUC__ >= 3 && __GNUC_MINOR__ >= 4 || __GNUC__ >= 4 29 #define USED __attribute__ ((used)) 30 #elif defined __GNUC__ 31 #define USED __attribute__ ((unused)) 32 #else 33 #define USED 34 #endif 35 static const char sccsid[] USED = "@(#)grep.sl 2.51 (gritter) 12/27/06"; 36 /* SLIST */ 37 /* 38 ac.c:static const char sccsid[] USED = "@(#)fgrep.sl 2.10 (gritter) 5/29/05"; 39 alloc.c: Sccsid @(#)alloc.c 1.3 (gritter) 4/17/03> 40 alloc.h: Sccsid @(#)alloc.h 1.3 (gritter) 4/17/03> 41 egrep.y:static const char sccsid[] USED = "@(#)egrep.sl 2.22 (gritter) 5/29/05"; 42 fgrep.c: Sccsid @(#)fgrep.c 1.12 (gritter) 12/17/04> 43 ggrep.c: Sccsid @(#)ggrep.c 1.26 (gritter) 1/4/05> 44 grep.c: Sccsid @(#)grep.c 1.53 (gritter) 12/27/06> 45 grep.h: Sccsid @(#)grep.h 1.23 (gritter) 1/4/05> 46 plist.c: Sccsid @(#)plist.c 1.22 (gritter) 12/8/04> 47 rcomp.c: Sccsid @(#)rcomp.c 1.27 (gritter) 2/6/05> 48 sus.c: Sccsid @(#)sus.c 1.24 (gritter) 5/29/05> 49 svid3.c: Sccsid @(#)svid3.c 1.7 (gritter) 4/17/03> 50 */