From 46689ca7f0002e4deea37db960b95e14958d50cb Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 26 Nov 1999 02:51:44 +0000 Subject: * Support the environtmental var "DIFF_OPTIONS". Which can hold a set of default options for diff. These options are interpreted first and can be overwritten by explicit command line parameters. * Add the "-o" option to specify old-traditional output style. * Add utility functions for env vars obtained from GNU Grep 2.3h. --- contrib/diff/prepend_args.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 contrib/diff/prepend_args.h (limited to 'contrib/diff/prepend_args.h') diff --git a/contrib/diff/prepend_args.h b/contrib/diff/prepend_args.h new file mode 100644 index 0000000..3f72cc2 --- /dev/null +++ b/contrib/diff/prepend_args.h @@ -0,0 +1,21 @@ +/* prepend_args.h - utilility programs for manpiulating argv[] + Copyright (C) 1999 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ + +/* $FreeBSD$ */ + +void prepend_default_options PARAMS ((char const *, int *, char ***)); -- cgit v1.1