1/* |
2 * Copyright (C) 1984-2012 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 11/* 12 * lessecho [-ox] [-cx] [-pn] [-dn] [-a] file ... 13 * Simply echos its filename arguments on standard output. 14 * But any argument containing spaces is enclosed in quotes. 15 * --- 6 unchanged lines hidden (view full) --- 22 * -ex Specifies "x" to be the escape char for metachars. 23 * -fn Specifies "x" to be the escape char for metachars, as an integer. 24 * -a Specifies that all arguments are to be quoted. 25 * The default is that only arguments containing spaces are quoted. 26 */ 27 28#include "less.h" 29 |
30static char *version = "$Revision: 1.15 $"; |
31 32static int quote_all = 0; 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; --- 233 unchanged lines hidden --- |