X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Ftinfo%2FMKkeys_list.sh;h=0facfbb813a2fb314a719f1a725b28fabfdf870a;hb=bcf02d3242f1c7d57224a95f7903fcf4b5e7695d;hp=3b8beaee56f3aacf157ae0f41def67b3a255cc9e;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280;p=ncurses.git diff --git a/ncurses/tinfo/MKkeys_list.sh b/ncurses/tinfo/MKkeys_list.sh index 3b8beaee..0facfbb8 100755 --- 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 <