don't leave spaces at the end of stripped RCS Ids

This commit is contained in:
perry 2005-02-27 15:29:09 +00:00
parent 410c49bf05
commit e25e66db2d
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#! /usr/bin/awk -f
# $NetBSD: devlist2h.awk,v 1.9 2005/02/27 00:27:43 perry Exp $
# $NetBSD: devlist2h.awk,v 1.10 2005/02/27 15:29:09 perry Exp $
#
# Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@ -99,6 +99,7 @@ BEGIN {
NR == 1 {
VERSION = $0
gsub("\\$", "", VERSION)
gsub(/ $/, "", VERSION)
printf("/*\t$NetBSD" "$\t*/\n\n") > dfile
printf("/*\n") > dfile