summaryrefslogtreecommitdiffstats
path: root/contrib/diff/prepend_args.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-26 02:51:44 +0000
committerobrien <obrien@FreeBSD.org>1999-11-26 02:51:44 +0000
commit46689ca7f0002e4deea37db960b95e14958d50cb (patch)
tree04d91218be61c3eaa96b304ba8cc96605bcb6f4d /contrib/diff/prepend_args.h
parentd0da4e010d8ed65bf5f7db99a1b113baee7bf5fa (diff)
downloadFreeBSD-src-46689ca7f0002e4deea37db960b95e14958d50cb.zip
FreeBSD-src-46689ca7f0002e4deea37db960b95e14958d50cb.tar.gz
* 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.
Diffstat (limited to 'contrib/diff/prepend_args.h')
-rw-r--r--contrib/diff/prepend_args.h21
1 files changed, 21 insertions, 0 deletions
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 ***));
OpenPOWER on IntegriCloud