[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] SPACE-before-TAB nits in getloadavg.m4 and lib-ld.m4
From: |
Bruno Haible |
Subject: |
Re: [Bug-gnulib] SPACE-before-TAB nits in getloadavg.m4 and lib-ld.m4 |
Date: |
Mon, 18 Aug 2003 18:55:22 +0200 |
User-agent: |
KMail/1.5 |
Jim Meyering wrote:
> Hmm... just realized that it might have been better to
> ask before changing lib-ld.m4. Bruno, if you don't like it
> or want to do something different, please let me know.
Yes, please. I'd prefer a second --exclude option here instead:
sc_space_tab:
@grep -E '[ ] ' --exclude=$(srcdir)/lib/regex.c \
--exclude=$(srcdir)/m4/lib-*.m4 \
$(srcdir)/{lib,src}/*.[chly] \
$(find -name Makefile.am) && \
{ echo '$(ME): found SPACE-TAB sequence; remove the SPACE' \
When I set IFS to a value, it's totally natural that space comes first,
because
1. <space> is more important than <tab>,
2. the default value of IFS in the POSIX spec
http://www.opengroup.org/onlinepubs/007904975/utilities/sh.html
lists <space> before <tab>.
I see why your target 'sc_space_tab:' can be useful if you use Emacs and
don't have tabs turned off by default; but that not the case for the ,m4
files I maintain.
Bruno