[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
groff, grops.man: Trimmed a shell example in the manual
From: |
Bjarni Ingi Gislason |
Subject: |
groff, grops.man: Trimmed a shell example in the manual |
Date: |
Sat, 23 Nov 2013 22:03:26 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Groff Bug Report
GROFF VERSION:
1.22.2 (current-groff from 17th October 2013)
MACHINE:
laptop (i586)
OS:
GNU/Linux 3.2.46-1-rt67-1; Debian 7.2 (wheezy)
COMPILER:
gcc 4.7.2 (Debian 4.7.2-5)
INPUT FILES:
.../groff-current/src/devices/grops/grops.man
COMMAND LINE:
groff -b -ww -mandoc -z
DESCRIPTION OF INCORRECT BEHAVIOUR OR FAULTY INPUT (SOURCE):
Changes:
Cleaned a shell example:
added space between '>' and file name ('>' is not a part of a "word")
removed "cat"
added space between 'r' (sed command) and file name
SUGGESTED FIX [optional]:
--- grops.man 2012-07-07 20:57:35.000000000 +0000
+++ grops.man.new 2013-11-22 23:07:11.000000000 +0000
@@ -1117,11 +1117,10 @@ produces an encapsulated PS file.
.nf
.ft B
#! /bin/sh
-groff \-P\-b16 $1 >$1.ps
-gs \-dNOPAUSE \-sDEVICE=bbox \-\- $1.ps 2>$1.bbox
-cat $1.ps \[rs]
-| sed \-e "/\[ha]%%Orientation/r$1.bbox" \[rs]
- \-e "/\[ha]%!PS-Adobe-3.0/s/$/ EPSF-3.0/" >$1.eps
+groff \-P\-b16 $1 > $1.ps
+gs \-dNOPAUSE \-sDEVICE=bbox \-\- $1.ps 2> $1.bbox
+sed \-e "/\[ha]%%Orientation/r $1.bbox" \[rs]
+ \-e "/\[ha]%!PS-Adobe-3.0/s/$/ EPSF-3.0/" $1.ps > $1.eps
rm $1.ps $1.bbox
.ft R
.fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- groff, grops.man: Trimmed a shell example in the manual,
Bjarni Ingi Gislason <=