X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmake_sed.sh;h=92e35eb27e60d7a8f6a90064dbb0ad9a877c4bf5;hp=f2afac93ebc8668643b27481dff68beaeab2b90c;hb=349761f30e7fc0b4bf2718f7fc3da34e09ea6735;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/man/make_sed.sh b/man/make_sed.sh index f2afac93..92e35eb2 100755 --- a/man/make_sed.sh +++ b/man/make_sed.sh @@ -1,7 +1,8 @@ #!/bin/sh -# $Id: make_sed.sh,v 1.9 2005/07/16 18:15:31 tom Exp $ +# $Id: make_sed.sh,v 1.11 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 1998-2003,2005 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 1998-2005,2017 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"), # @@ -45,7 +46,7 @@ UPPER=upper$$ SCRIPT=script$$ RESULT=result$$ rm -f $UPPER $SCRIPT $RESULT -trap "rm -f $COL.* $INPUT $UPPER $SCRIPT $RESULT" 0 1 2 5 15 +trap "rm -f $COL.* $INPUT $UPPER $SCRIPT $RESULT" 0 1 2 3 15 fgrep -v \# $1 | \ sed -e 's/[ ][ ]*/ /g' >$INPUT