X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Ftinfo%2FMKkeys_list.sh;h=0facfbb813a2fb314a719f1a725b28fabfdf870a;hb=d1a029866f6d84087781eaa81de19949d8533426;hp=3b8beaee56f3aacf157ae0f41def67b3a255cc9e;hpb=deb0d07e8eb4803b9e9653359eab17a30d04369d;p=ncurses.git diff --git a/ncurses/tinfo/MKkeys_list.sh b/ncurses/tinfo/MKkeys_list.sh old mode 100644 new mode 100755 index 3b8beaee..0facfbb8 --- a/ncurses/tinfo/MKkeys_list.sh +++ b/ncurses/tinfo/MKkeys_list.sh @@ -1,7 +1,7 @@ #! /bin/sh -# $Id: MKkeys_list.sh,v 1.7 2020/02/02 23:34:34 tom Exp $ +# $Id: MKkeys_list.sh,v 1.8 2022/02/05 20:40:20 tom Exp $ ############################################################################## -# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 2019-2020,2022 Thomas E. Dickey # # Copyright 2001-2003,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -44,7 +44,8 @@ else fi data=data$$ -trap 'rm -f $data' EXIT INT QUIT TERM HUP +trap 'rm -f $data; exit 1' 1 2 3 15 +trap 'rm -f $data' 0 cat $DATA | sed -e 's/[ ][ ]*/ /g' >$data cat <