Deleted Added
sdiff udiff text old ( 221715 ) new ( 237613 )
full compact
1/* $FreeBSD: head/contrib/less/main.c 221715 2011-05-09 21:51:59Z delphij $ */
2/*
3 * Copyright (C) 1984-2011 Mark Nudelman
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Less License, as specified in the README file.
7 *
8 * For more information about less, or for information on how to
9 * contact the author, see the README file.
10 */
11
12
13/*
14 * Entry point, initialization, miscellaneous routines.
15 */
16
17#include "less.h"

--- 197 unchanged lines hidden (view full) ---

215 free(gfilename);
216#else
217 filename = shell_quote(*argv);
218 if (filename == NULL)
219 filename = *argv;
220 argv++;
221 (void) get_ifile(filename, ifile);
222 ifile = prev_ifile(NULL_IFILE);
223#endif
224 }
225 /*
226 * Set up terminal, etc.
227 */
228 if (!is_tty)
229 {
230 /*

--- 193 unchanged lines hidden ---