All of lore.kernel.org
 help / color / mirror / Atom feed
From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: galak@kernel.crashing.org
Cc: davem@davemloft.net, netdev@vger.kernel.org, akpm@osdl.org,
	yoshfuji@linux-ipv6.org
Subject: Re: [NET]: Fix whitespace errors
Date: Sat, 10 Feb 2007 01:24:04 +0900 (JST)	[thread overview]
Message-ID: <20070210.012404.121782477.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <F29DCCE2-0FF6-4B9A-BA07-2D812BF4B320@kernel.crashing.org>

Hello.

In article <F29DCCE2-0FF6-4B9A-BA07-2D812BF4B320@kernel.crashing.org> (at Fri, 9 Feb 2007 09:47:27 -0600), Kumar Gala <galak@kernel.crashing.org> says:

> > to fix trivial whitespace errors:
> >  - convert leading sequences of whitespace with tab(s).
> >  - remove whitespace at the end of line.
> > under net.
> >
> > Tree is on top of current net-2.6 tree.
> 
> Do you have a script that did this?

----->8-----
#!/bin/sh

TEMP=$(mktemp -t spacecheck.XXXXXX)
unexpand $1 | sed -e 's/[[:space:]][[:space:]]*$//' > ${TEMP}
cat ${TEMP} > $1
rm ${TEMP}
----->8-----

Then, "git-reset" and "git-commit".

--yoshfuji

      reply	other threads:[~2007-02-09 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 14:41 [NET]: Fix whitespace errors YOSHIFUJI Hideaki / 吉藤英明
2007-02-09 15:47 ` Kumar Gala
2007-02-09 16:24   ` YOSHIFUJI Hideaki / 吉藤英明 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070210.012404.121782477.yoshfuji@linux-ipv6.org \
    --to=yoshfuji@linux-ipv6.org \
    --cc=akpm@osdl.org \
    --cc=davem@davemloft.net \
    --cc=galak@kernel.crashing.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.