Date: Thu, 18 Nov 2004 10:07:59 +0530 From: Joseph Koshy <joseph.koshy@gmail.com> To: Alexey Dokuchaev <danfe@nsu.ru> Cc: doc@freebsd.org Subject: Re: .so macro in man pages Message-ID: <84dead7204111720374b93595c@mail.gmail.com> In-Reply-To: <20041117155141.GA54101@regency.nsu.ru> References: <20041117115501.GA81934@regency.nsu.ru> <84dead7204111704502a0b6765@mail.gmail.com> <20041117155141.GA54101@regency.nsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> like to know why the latter method didn't work for me as expected, just > for the reference. man -d will report the exact command line used to generate the manual page. $ man -d -M /tmp/man bar trying command: (cd /tmp/man ; /usr/bin/zcat /tmp/man/man1/bar.1.gz | /usr/bin/tbl | /usr/bin/groff -S -Wall -mtty-char -man -Tascii | /usr/bin/col | /usr/bin/less) $ gzip -dc man1/bar.1.gz .so man2/foo.2 However the man2/ directory only contains the gzipped version of the manual page. Consequently the .so include by groff will fail. $ man -M /tmp/man bar <standard input>:1: can't open `man2/foo.2': No such file or directory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead7204111720374b93595c>