Skip to contentSkip to conversation

awk.1p, man.1p, printf.1p: groff syntax typos

PATCH Ivana Hutarova Varekova 1 participant 1 message Nov 18, 2010 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hello,
in posix man-pages (man-pages-posix-2003-a.tar.bz2) there are several problems which cause groff syntax errors. The patches which fix them are attached. Ivana Hutarova Varekova

man1p/awk.1p renamed from man1p/awk.1p.qqq +1 -1
diff -up man-pages-3.29/man1p/awk.1p.qqq man-pages-3.29/man1p/awk.1p
@@ -2197,7 +2197,7 @@ necessary to use parentheses to enforce 
 .LP
 The \fIawk\fP program specified in the command line is most easily
 specified within single-quotes (for example,
-'\fIprogram\fP') for applications using \fIsh\fP, because \fIawk\fP
+\fI'program'\fP) for applications using \fIsh\fP, because \fIawk\fP
 programs commonly contain
 characters that are special to the shell, including double-quotes.
 In the cases where an \fIawk\fP program contains single-quote

diff -up man-pages-3.29/man1p/.qqq man-pages-3.29/man1p/

man1p/man.1p renamed from man1p/man.1p.pom +1 -4
diff -up man-pages-3.29/man1p/man.1p.pom man-pages-3.29/man1p/man.1p
@@ -44,10 +44,7 @@ command: 
 .RS
 .nf
 
-\fBgrep -Ei '
-\fP\fIname
-name\fP\fB...
-'\fP \fIsummary-database\fP
+\fBgrep -Ei '\fP\fIname name\fP\fB...' \fP \fIsummary-database\fP
 .fi
 .RE
 .LP
man1p/printf.1p renamed from man1p/printf.1p.ppp +2 -1
diff -up man-pages-3.29/man1p/printf.1p.ppp man-pages-3.29/man1p/printf.1p
@@ -144,7 +144,8 @@ octal number that shall be converted to 
 numeric value specified by the octal number
 .LP
 .IP " *" 3
-\fB'\\c'\fP, which shall not be written and shall cause \fIprintf\fP
+sequence \fB'\\c'\fP
+which shall not be written and shall cause \fIprintf\fP
 to ignore any remaining characters in the string
 operand containing it, any remaining string operands, and any additional
 characters in the \fIformat\fP operand