Thread (3 messages) flat view 3 messages, 2 authors, 2007-02-09

Re: [NET]: Fix whitespace errors

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2007-02-09 16:24:06

Hello.

In article [ref] (at Fri, 9 Feb 2007 09:47:27 -0600), Kumar Gala [off-list ref] says:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help