]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/manlinks.sed
ncurses 6.2 - patch 20210109
[ncurses.git] / man / manlinks.sed
index 4da7790dfd974569ae77ce77ea524bd52595f677..09b055f2fa04587dcb10dd2ada30595446961263 100644 (file)
@@ -1,6 +1,7 @@
-# $Id: manlinks.sed,v 1.12 2003/12/20 13:17:56 tom Exp $
+# $Id: manlinks.sed,v 1.15 2021/01/05 20:30:00 tom Exp $
 ##############################################################################
-# Copyright (c) 2000-2002,2003 Free Software Foundation, Inc.                #
+# Copyright 2020,2021 Thomas E. Dickey                                       #
+# Copyright 2000-2003,2008 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"), #
 /\.\\"/d
 /^\.br/d
 /^\.sp/d
+/typedef/d
 s/^\.IX//
 s/\\f.//g
 s/[:,]/ /g
 #
+# ignore C-style comments
+s%/\*.*\*/%%
+#
 # eliminate unnecessary whitespace, convert multiple blanks to single space
 s/^[   ][      ]*//
 s/[    ][      ]*$//
 s/[    ][      ]*/ /g
+/^$/d
 #
 # convert ".SH" into a more manageable form
 s/\.SH[        ][      ]*/.SH_(/