main.c (268193) | main.c (268203) |
---|---|
1/*- 2 * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson. 3 * Copyright (c) 1992 Diomidis Spinellis. 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Diomidis Spinellis of Imperial College, University of London. --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 */ 34 35#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson. 3 * Copyright (c) 1992 Diomidis Spinellis. 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Diomidis Spinellis of Imperial College, University of London. --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 */ 34 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/usr.bin/sed/main.c 268193 2014-07-02 23:07:01Z pfg $"); | 36__FBSDID("$FreeBSD: head/usr.bin/sed/main.c 268203 2014-07-03 00:31:13Z pfg $"); |
37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1992, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint --- 154 unchanged lines hidden (view full) --- 199 err(1, "stdout"); 200 exit(rval); 201} 202 203static void 204usage(void) 205{ 206 (void)fprintf(stderr, | 37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1992, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint --- 154 unchanged lines hidden (view full) --- 199 err(1, "stdout"); 200 exit(rval); 201} 202 203static void 204usage(void) 205{ 206 (void)fprintf(stderr, |
207 "usage: %s script [-Ealnru] [-i[<extension>]] [file ...]\n" | 207 "usage: %s script [-Ealnru] [-i extension] [file ...]\n" |
208 "\t%s [-Ealnu] [-i extension] [-e script] ... [-f script_file]" 209 " ... [file ...]\n", getprogname(), getprogname()); 210 exit(1); 211} 212 213/* 214 * Like fgets, but go through the chain of compilation units chaining them 215 * together. Empty strings and files are ignored. --- 280 unchanged lines hidden --- | 208 "\t%s [-Ealnu] [-i extension] [-e script] ... [-f script_file]" 209 " ... [file ...]\n", getprogname(), getprogname()); 210 exit(1); 211} 212 213/* 214 * Like fgets, but go through the chain of compilation units chaining them 215 * together. Empty strings and files are ignored. --- 280 unchanged lines hidden --- |