[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ChangeLog MANIFEST
From: |
Bernd Warken |
Subject: |
[Groff-commit] groff ChangeLog MANIFEST |
Date: |
Thu, 24 Jan 2013 12:27:39 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Bernd Warken <bwarken> 13/01/24 12:27:39
Modified files:
. : ChangeLog MANIFEST
Log message:
Add a shell command to the file MANIFEST that can display all man source
files and their section.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1380&r2=1.1381
http://cvs.savannah.gnu.org/viewcvs/groff/MANIFEST?cvsroot=groff&r1=1.17&r2=1.18
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1380
retrieving revision 1.1381
diff -u -b -r1.1380 -r1.1381
--- ChangeLog 22 Jan 2013 00:29:38 -0000 1.1380
+++ ChangeLog 24 Jan 2013 12:27:39 -0000 1.1381
@@ -1,3 +1,8 @@
+2013-01-24 Bernd Warken <address@hidden>
+
+ * Add a shell command to 'MANIFEST' that displays all man source
+ files and their section.
+
2013-01-22 Bernd Warken <address@hidden>
* Add email address in all files having the name.
Index: MANIFEST
===================================================================
RCS file: /cvsroot/groff/groff/MANIFEST,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- MANIFEST 26 Jul 2011 17:11:09 -0000 1.17
+++ MANIFEST 24 Jan 2013 12:27:39 -0000 1.18
@@ -145,6 +145,23 @@
- Documentation in other formats are located in the `doc' directory,
including the groff info file, tutorials, and manuals.
+Man-pages have source files ending in `.man'. When running `make'
+they are transformed into an ending `.n'. So it is very hard to
+decide into which section the man-page shall go. Here is a shell
+command that finds all man-pages and writes the section number after
+each file name:
+
+find -type f |
+grep '[.]man$' |
+sort |
+xargs grep -e '^[.]TH ' |
+sed -e '
+s/^\(.\+\): address@hidden(.*\)address@hidden/\1 \2/
+'
+
+This shell command shall only be run when your in the top directory of
+the groff source tree (this file should be there named MANIFEST).
+
4) The roff parser
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ChangeLog MANIFEST,
Bernd Warken <=