|
From: <sk...@us...> - 2011-03-06 14:36:53
|
Revision: 2403
http://linuxconsole.svn.sourceforge.net/linuxconsole/?rev=2403&view=rev
Author: skitt
Date: 2011-03-06 14:36:47 +0000 (Sun, 06 Mar 2011)
Log Message:
-----------
AWK script to generate the modes section of the inputattach(1) manpage.
Added Paths:
-----------
trunk/docs/list-inputattach-modes
Added: trunk/docs/list-inputattach-modes
===================================================================
--- trunk/docs/list-inputattach-modes (rev 0)
+++ trunk/docs/list-inputattach-modes 2011-03-06 14:36:47 UTC (rev 2403)
@@ -0,0 +1,12 @@
+#!/usr/bin/awk -f
+
+/^ --.*-/ {
+ print ".TP";
+ print ".BR \\-" substr($2, 2) " \", \" " "\\-\\-" substr($1, 3);
+# print "\\fB\\-" substr($2, 2) "\\fR, \\fB\\-\\-" substr($1, 3) "\\fR";
+ remainder = "";
+ for (i = 3; i <= NF; i++)
+ remainder = remainder $i " ";
+ print remainder;
+}
+
Property changes on: trunk/docs/list-inputattach-modes
___________________________________________________________________
Added: svn:executable
+ *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|