Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern remove some trailing spaces in generated output whe...



details:   https://anonhg.NetBSD.org/src/rev/9055440228e8
branches:  trunk
changeset: 574336:9055440228e8
user:      perry <perry%NetBSD.org@localhost>
date:      Sat Feb 26 22:06:38 2005 +0000

description:
remove some trailing spaces in generated output when removing $s from $NetBSD$

diffstat:

 sys/kern/vnode_if.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 229a956dec92 -r 9055440228e8 sys/kern/vnode_if.sh
--- a/sys/kern/vnode_if.sh      Sat Feb 26 21:40:45 2005 +0000
+++ b/sys/kern/vnode_if.sh      Sat Feb 26 22:06:38 2005 +0000
@@ -29,7 +29,7 @@
  * SUCH DAMAGE.
  */
 "
-SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.37 2005/02/26 21:40:45 perry Exp $'
+SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.38 2005/02/26 22:06:38 perry Exp $'
 
 # Script to produce VFS front-end sugar.
 #
@@ -163,7 +163,7 @@
 exec > $out_h
 
 # Begin stuff
-echo -n "$warning" | sed -e 's/\$//g;s/@/\$/g'
+echo -n "$warning" | sed -e 's/\$//g;s/@/\$/g;s/ $//'
 echo ""
 echo -n "$copyright"
 echo ''
@@ -288,7 +288,7 @@
 exec > $out_c
 
 # Begin stuff
-echo -n "$warning" | sed -e 's/\$//g;s/@/\$/g'
+echo -n "$warning" | sed -e 's/\$//g;s/@/\$/g;s/ $//'
 echo ""
 echo -n "$copyright"
 echo "



Home | Main Index | Thread Index | Old Index