]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/MKkeys_list.sh
ncurses 5.9 - patch 20131214
[ncurses.git] / ncurses / tinfo / MKkeys_list.sh
index 98d5b1379a1c6f5b160abba616d7848fc5af14c6..14017b0168963e657e799be4134a0f32d17f0a5c 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
-# $Id: MKkeys_list.sh,v 1.2 2001/06/16 16:50:35 tom Exp $
+# $Id: MKkeys_list.sh,v 1.4 2003/10/25 16:19:54 tom Exp $
 ##############################################################################
-# Copyright (c) 2001 Free Software Foundation, Inc.                          #
+# Copyright (c) 2001,2003 Free Software Foundation, Inc.                     #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -30,7 +30,7 @@
 #
 # MKkey_defs.sh -- generate list of function-keys for terminfo database
 #
-# Author: Thomas E. Dickey <dickey@herndon4.his.com> 2001
+# Author: Thomas E. Dickey 2001
 #
 # Extract function-key names from the Caps file
 #
@@ -39,7 +39,7 @@ DATA=${1-../../include/Caps}
 
 data=data$$
 trap 'rm -f $data' 0 1 2 5 15
-sed -e 's/[    ]\+/    /g' < $DATA >$data
+sed -e 's/[    ][      ]*/     /g' < $DATA >$data
 
 cat <<EOF
 # These definitions were generated by $0 $DATA