diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-12-13 20:16:59 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-12-14 02:35:10 +0000 |
commit | 5f87f1ac1cb2ef44aac4284d8103e7556597a842 (patch) | |
tree | 5111883a2ffcd6856d42d66e70980fb19c02409c /cfg.mk | |
parent | 2c5d86a8b8340b50ca1457923f9041143245bb35 (diff) | |
download | coreutils-5f87f1ac1cb2ef44aac4284d8103e7556597a842.tar.gz |
maint: remove form feed characters from sources
These are no longer useful and can impact viewing
patches in some mail programs for example.
* src/cksum.c: Remove ^L characters.
* src/comm.c: Likewise.
* src/kill.c Likewise.
* src/ln.c Likewise.
* src/nl.c Likewise.
* src/pr.c Likewise.
* src/ptx.c Likewise.
* src/split.c Likewise.
* src/tr.c Likewise.
* src/tsort.c Likewise.
* src/uniq.c Likewise.
* src/wc.c Likewise.
* cfg.mk (sc_prohibit-form-feed): A new syntax check.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -746,6 +746,12 @@ sc_gitignore_redundant: sort | uniq -d | grep . && { echo '$(ME): Remove above' \ 'entries from .gitignore' >&2; exit 1; } || : +sc_prohibit-form-feed: + @prohibit=$$'\f' \ + in_vc_files='\.[chly]$$' \ + halt='Form Feed (^L) detected' \ + $(_sc_search_regexp) + # Override the default Cc: used in generating an announcement. announcement_Cc_ = $(translation_project_), \ coreutils@gnu.org, coreutils-announce@gnu.org |