[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/manual/html_node/Environment-Variables.html,v
From: |
Jim Meyering |
Subject: |
Changes to grep/manual/html_node/Environment-Variables.html,v |
Date: |
Mon, 02 Nov 2015 02:54:53 +0000 |
CVSROOT: /webcvs/grep
Module name: grep
Changes by: Jim Meyering <meyering> 15/11/02 02:54:37
Index: html_node/Environment-Variables.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Environment-Variables.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- html_node/Environment-Variables.html 23 Nov 2014 22:23:31 -0000
1.20
+++ html_node/Environment-Variables.html 2 Nov 2015 02:54:32 -0000
1.21
@@ -1,8 +1,8 @@
<html lang="en">
<head>
-<title>Environment Variables - GNU Grep 2.21</title>
+<title>Environment Variables - GNU Grep 2.22</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<meta name="description" content="GNU Grep 2.21">
+<meta name="description" content="GNU Grep 2.22">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Invoking.html#Invoking" title="Invoking">
@@ -12,7 +12,7 @@
<!--
This manual is for `grep', a pattern matching engine.
-Copyright (C) 1999--2002, 2005, 2008--2014 Free Software Foundation,
+Copyright (C) 1999-2002, 2005, 2008-2015 Free Software Foundation,
Inc.
Permission is granted to copy, distribute and/or modify this
@@ -34,6 +34,7 @@
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
+<link rel="stylesheet" type="text/css" href="/software/gnulib/manual.css">
</head>
<body>
<div class="node">
@@ -109,7 +110,14 @@
As this causes problems when writing portable scripts, this feature
will be removed in a future release of <samp><span
class="command">grep</span></samp>, and <samp><span
class="command">grep</span></samp>
warns if it is used. Please use an alias or script instead.
-
+For example, if <samp><span class="command">grep</span></samp> is in the
directory ‘<samp><span class="samp">/usr/bin</span></samp>’ you
+can prepend <samp><span class="file">$HOME/bin</span></samp> to your
<samp><span class="env">PATH</span></samp> and create an
+executable script <samp><span class="file">$HOME/bin/grep</span></samp>
containing the following:
+
+ <pre class="example"> #! /bin/sh
+ export PATH=/usr/bin
+ exec grep --color=auto --devices=skip "$@"
+</pre>
<br><dt><samp><span class="env">GREP_COLOR</span></samp><dd><a
name="index-GREP_005fCOLOR-_0040r_007benvironment-variable_007d-142"></a><a
name="index-highlight-markers-143"></a>This variable specifies the color used
to highlight matched (non-empty) text.
It is deprecated in favor of <samp><span
class="env">GREP_COLORS</span></samp>, but still supported.
The ‘<samp><span class="samp">mt</span></samp>’,
‘<samp><span class="samp">ms</span></samp>’, and ‘<samp><span
class="samp">mc</span></samp>’ capabilities of <samp><span
class="env">GREP_COLORS</span></samp>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/manual/html_node/Environment-Variables.html,v,
Jim Meyering <=