Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi remove trailing whitespace from the "generated ...



details:   https://anonhg.NetBSD.org/src/rev/8c5a7b833d4a
branches:  trunk
changeset: 574371:8c5a7b833d4a
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Feb 27 05:18:32 2005 +0000

description:
remove trailing whitespace from the "generated from:" line

diffstat:

 sys/dev/acpi/devlist2h.awk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a266de0da326 -r 8c5a7b833d4a sys/dev/acpi/devlist2h.awk
--- a/sys/dev/acpi/devlist2h.awk        Sun Feb 27 03:40:14 2005 +0000
+++ b/sys/dev/acpi/devlist2h.awk        Sun Feb 27 05:18:32 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: devlist2h.awk,v 1.4 2003/12/15 07:32:20 jmc Exp $
+#      $NetBSD: devlist2h.awk,v 1.5 2005/02/27 05:18:32 perry Exp $
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -42,6 +42,7 @@
 NR == 1 {
        VERSION = $0
        gsub("\\$", "", VERSION)
+       gsub(/ $/, "", VERSION)
 
        printf("/*\t$NetBSD" "$\t*/\n\n") > dfile
        printf("/*\n") > dfile



Home | Main Index | Thread Index | Old Index