summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2019-01-05 22:04:57 -0800
committerJim Meyering <meyering@fb.com>2019-01-05 22:47:23 -0800
commitbadccffea49ddc26b72208366f00429cc7ffb9e1 (patch)
tree67540e209f66e920565f43c84cff6f3f7fed978a /NEWS
parent601eceb57cfb87ded594701acc401277c53ff837 (diff)
downloaddiffutils-badccffea49ddc26b72208366f00429cc7ffb9e1.tar.gz
maint: convert all TABs to equivalent spaces in indentation
Using this file, cat > leading-blank.exempt <<\EOF (\.gitmodules|help2man|pre-commit)$ (?:^|\/)ChangeLog[^/]*$ (?:^|\/)(?:GNU)?[Mm]akefile[^/]*$ \.(?:am|mk)$ EOF run the following 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 : $_' Since that changed old NEWS, I also ran "make update-NEWS-hash" to update the old_NEWS_hash value in cfg.mk.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS12
1 files changed, 6 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 9ab0748..5c1ae5f 100644
--- a/NEWS
+++ b/NEWS
@@ -343,12 +343,12 @@ User-visible changes in version 2.4:
printed according to the printf specification.
E.g. '%5df' prints the number of the first line in the
group in the old file using the "%5d" format.
- e: line number just before the group in old file; equals f - 1
- f: first line number in group in the old file
- l: last line number in group in the old file
- m: line number just after the group in old file; equals l + 1
- n: number of lines in group in the old file; equals l - f + 1
- E, F, L, M, N: likewise, for lines in the new file
+ e: line number just before the group in old file; equals f - 1
+ f: first line number in group in the old file
+ l: last line number in group in the old file
+ m: line number just after the group in old file; equals l + 1
+ n: number of lines in group in the old file; equals l - f + 1
+ E, F, L, M, N: likewise, for lines in the new file
%(A=B?T:E)
If A equals B then T else E. A and B are each either a decimal
constant or a single letter interpreted as above. T and E are