.ig Copyright (C) 1989-2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English. .. .TH NROFF 1 "23 September 2003" "Groff Version 1.18.1" .SH NAME nroff \- 用 groff 模擬 nroff 命令 .SH "總覽 SYNOPSIS" .nr a \n(.j .ad l .nr i \n(.i .in +\w'\fBnroff 'u .ti \niu .B nroff .de OP .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]" .el .RB "[\ " "\\$1" "\ ]" .. .OP \-h .OP \-i .OP \-m name .OP \-n num .OP \-o list .OP \-p .OP \-r cn .OP \-S .OP \-t .OP \-T name .OP \-U .OP \-v .RI "[\ " "file" "\ .\|.\|.\ ]" .br .ad \na .SH "描述 DESCRIPTION" .B nroff shell 指令碼用 groff 來模擬 .B nroff 命令。 .B -T 選項允許的有效引數是 .BR ascii , .BR ascii8 , .BR latin1 , .BR utf8 , .BR nippon , 以及 .B cp1047 。如果引數無效,或者沒有給出 .BR \-T 選項, .B nroff 檢測當前語言環境來選擇一個預設的輸出裝置。它首先使用 .B locale 程式,然後檢測環境變數 .BR LC_ALL , .BR LC_CTYPE , 和 .BR LANG , 最後是 .B LESSCHARSET 環境變數。 .PP .B \-h 和 .B \-c 選項與 .BR grotty 的 .B \-h (在輸出中使用tab) 和 .B \-c (使用老式的輸出方案而不是 SGR 轉義序列) 選項等價。 .BR \-C , .BR \-i , .BR \-n , .BR \-m , .BR \-o , 和 .B \-r 選項的效果在 .BR troff (1) 中詳述。另外, .B nroff 忽略 .BR \-e , .BR \-q , 和 .BR \-s (在 .BR troff 中沒有實現) 選項,沒有任何提示。 .B \-p (pic), .B \-t (tbl), .B \-S (safer), 和 .B \-U (unsafe) 選項被傳給 .BR groff . .B \-v 顯示版本號。 .SH "環境 ENVIRONMENT" .TP .SM .B GROFF_BIN_PATH 一個冒號分隔的路徑列表,在搜尋 PATH 之前從中搜索 .B groff 可執行檔案。如果沒有設定,將使用 `/usr/bin'. .SH "注意 NOTES" 這個 shell 指令碼一般用於配合 .BR man (1) 使用,所以不輸出警告資訊。nroff 樣式的字元定義 (在檔案 tty-char.tmac 中) 會被讀取,來模擬不可顯示的符號。 .SH "參見 SEE ALSO" .BR groff (1), .BR troff (1), .BR grotty (1) .SH "[中文版維護人]" .\" 譯者 .\" 唐友 .\" 翻譯日期 .\" 2001.08.28 .B bbbush .SH "[中文版最新更新]" .B 2003.11.22 .SH "《中國linux論壇man手冊頁翻譯計劃》:" .BI http://cmpp.linuxforum.net . .\" Local Variables: .\" mode: nroff .\" End: .SH "跋" .br 本頁面中文版由中文 man 手冊頁計劃提供。 .br 中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR