lpf.c (84693) | lpf.c (117609) |
---|---|
1/* 2 * Copyright (c) 1983, 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 --- 23 unchanged lines hidden (view full) --- 32 */ 33 34#ifndef lint 35static const char copyright[] = 36"@(#) Copyright (c) 1983, 1993\n\ 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 | 1/* 2 * Copyright (c) 1983, 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 --- 23 unchanged lines hidden (view full) --- 32 */ 33 34#ifndef lint 35static const char copyright[] = 36"@(#) Copyright (c) 1983, 1993\n\ 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 |
40#if 0 |
|
40#ifndef lint | 41#ifndef lint |
41/* 42static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93"; 43*/ 44static const char rcsid[] = 45 "$FreeBSD: head/usr.sbin/lpr/filters/lpf.c 84693 2001-10-09 00:09:46Z gad $"; | 42static char sccsid[] = "@(#)lpf.c 8.1 (Berkeley) 6/6/93"; |
46#endif /* not lint */ | 43#endif /* not lint */ |
44#endif |
|
47 | 45 |
46#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ 47__FBSDID("$FreeBSD: head/usr.sbin/lpr/filters/lpf.c 117609 2003-07-15 07:01:01Z gad $"); 48 |
|
48/* 49 * filter which reads the output of nroff and converts lines 50 * with ^H's to overwritten lines. Thus this works like 'ul' 51 * but is much better: it can handle more than 2 overwrites 52 * and it is written with some style. 53 * modified by kls to use register references instead of arrays 54 * to try to gain a little speed. 55 */ --- 165 unchanged lines hidden --- | 49/* 50 * filter which reads the output of nroff and converts lines 51 * with ^H's to overwritten lines. Thus this works like 'ul' 52 * but is much better: it can handle more than 2 overwrites 53 * and it is written with some style. 54 * modified by kls to use register references instead of arrays 55 * to try to gain a little speed. 56 */ --- 165 unchanged lines hidden --- |