lessecho.c (7e1b7636c894be9d1130c284089ce1ea0786ecec) | lessecho.c (b7780dbe98fc88da65024e697529ea7883064275) |
---|---|
1/* | 1/* |
2 * Copyright (C) 1984-2017 Mark Nudelman | 2 * Copyright (C) 1984-2019 Mark Nudelman |
3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information, see the README file. 8 */ 9 10 --- 22 unchanged lines hidden (view full) --- 33static char openquote = '"'; 34static char closequote = '"'; 35static char *meta_escape = "\\"; 36static char meta_escape_buf[2]; 37static char metachars[64] = ""; 38static int num_metachars = 0; 39 40 static void | 3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information, see the README file. 8 */ 9 10 --- 22 unchanged lines hidden (view full) --- 33static char openquote = '"'; 34static char closequote = '"'; 35static char *meta_escape = "\\"; 36static char meta_escape_buf[2]; 37static char metachars[64] = ""; 38static int num_metachars = 0; 39 40 static void |
41pr_usage() | 41pr_usage(VOID_PARAM) |
42{ 43 fprintf(stderr, 44 "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n"); 45} 46 47 static void | 42{ 43 fprintf(stderr, 44 "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n"); 45} 46 47 static void |
48pr_version() | 48pr_version(VOID_PARAM) |
49{ 50 char *p; 51 char buf[10]; 52 char *pbuf = buf; 53 54 for (p = version; *p != ' '; p++) 55 if (*p == '\0') 56 return; --- 215 unchanged lines hidden --- | 49{ 50 char *p; 51 char buf[10]; 52 char *pbuf = buf; 53 54 for (p = version; *p != ' '; p++) 55 if (*p == '\0') 56 return; --- 215 unchanged lines hidden --- |