- add RCS Id

- put RCS Id strings to output
- generate termcap.mini directly rather than via stdout
This commit is contained in:
tsutsui 2008-12-22 18:46:02 +00:00
parent ed5081d39a
commit dbaf5f36b6
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
#!/bin/sh
# $NetBSD: mktermcap,v 1.3 2008/12/22 18:46:02 tsutsui Exp $
TARGET=termcap.mini
echo "# \$NetBSD\$" > ${TARGET}
for t in wsvt25m vt100 vt220 xterm ansi
do
getent termcap -rp $t
echo
getent termcap -rp $t >> ${TARGET}
echo >> ${TARGET}
done