diff options
author | Jim Meyering <meyering@redhat.com> | 2010-04-08 18:39:24 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-08 19:29:42 +0200 |
commit | 699bcc4bd8166abb6ee26a37d9e1189817741277 (patch) | |
tree | b57f4c9bc3bf24c6b565f78966dc20ff98a4c36a /README.DOS | |
parent | e4f69c178ee9e68ecdbd743de669ec8c1388e40f (diff) | |
download | grep-699bcc4bd8166abb6ee26a37d9e1189817741277.tar.gz |
convert all TABs to equivalent spaces in indentation
Using this file,
cat > leading-blank.exempt <<\EOF
(?:^|\/)ChangeLog[^/]*$
(?:^|\/)(?:GNU)?[Mm]akefile[^/]*$
\.(?:am|mk)$
EOF
run this command to convert all non-conforming leading white
space to be all spaces:
git ls-files \
| pcregrep -vf leading-blank.exempt \
| xargs pcregrep -l '^ *\t' \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
Diffstat (limited to 'README.DOS')
-rw-r--r-- | README.DOS | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -11,22 +11,22 @@ To compile the GNU grep package with DJGPP tools, you will need the following tools (the names of the archives on DJGPP ftp sites where
these tools are available are in parentheses):
- - The basic DJGPP development environment, including the
+ - The basic DJGPP development environment, including the
GCC compiler and the libraries (v2gnu/gccNNNb.zip,
v2gnu/bnuNNNb.zip, v2/djdevNNN.zip).
- - GNU Make revision 3.75 or later (v2gnu/makNNNb.zip).
+ - GNU Make revision 3.75 or later (v2gnu/makNNNb.zip).
- - GNU Bash (v2gnu/bshNNNb.zip).
+ - GNU Bash (v2gnu/bshNNNb.zip).
- - GNU Sed (v2gnu/sedNNNb.zip).
+ - GNU Sed (v2gnu/sedNNNb.zip).
- - GNU M4 (v2gnu/m4-NNNb.zip).
+ - GNU M4 (v2gnu/m4-NNNb.zip).
- - GNU Fileutils (v2gnu/filNNNb.zip), Textutils
+ - GNU Fileutils (v2gnu/filNNNb.zip), Textutils
(v2gnu/txtNNNb.zip) and Diffutils (v2gnu/difNNNb.zip).
- - A (previous version of) GNU grep (v2gnu/grepNNb.zip).
+ - A (previous version of) GNU grep (v2gnu/grepNNb.zip).
Running the tests ("make check" in the top-level directory)
additionally requires Gawk (v2gnu/gwkNNNb.zip). TAGS and ID targets
@@ -36,9 +36,9 @@ ID-utils, v2gnu/iduNNb.zip), respectively. All of these tools are available from the DJGPP archive sites.
To build grep:
- sh autogen.sh
+ sh autogen.sh
sh configure
- make
+ make
Source distributions on DJGPP sites usually come pre-configured, so
@@ -79,4 +79,4 @@ perform the following in the docs directory: 2.5f ported by Andrew Cottrell <anddjgpp@ihug.com.au>
Enjoy,
- Eli Zaretskii <eliz@is.elta.co.il>
+ Eli Zaretskii <eliz@is.elta.co.il>
|