1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
18 .TH CAT 1 "7 October 2002" "GNU textutils 2.1"
20 .\"O \fBcat\fR \- concatenate and write files
22 cat \- ¥Õ¥¡¥¤¥ë¤òÏ¢·ë¤·¤Æ½ÐÎϤ¹¤ë
26 .RB [ \-benstuvABET "] [" \-\-binary "] [" \-\-number "] [" \-\-number\-nonblank ]
27 .RB [ \-\-show\-all "] [" \-\-show\-ends "] [" \-\-show\-nonprinting ]
28 .RB [ \-\-show\-tabs "] [" \-\-squeeze\-blank "] [" \fIFILE...\fR ]
30 .BR cat " [" \-\-help "] [" \-\-version ]
36 .\"O to standard output. If
38 .\"O is omitted or if is a
40 .\"O standard input is used.
42 ¤Ï»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤½¤ì¤¾¤ì¤ÎÆâÍƤòɸ½à½ÐÎϤؽñ¤½Ð¤¹¡£
44 ¤¬°ì¤Ä¤âÍ¿¤¨¤é¤ì¤Ê¤¤¤Èɸ½àÆþÎϤ«¤éÆɤ߹þ¤à¡£¤Þ¤¿
48 ¤À¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ïɸ½àÆþÎϤ¬ÍѤ¤¤é¤ì¤ë¡£
52 .B \-b, \-\-number\-nonblank
53 .\"O Number all nonblank output lines, starting with 1.
54 ¶õÇò¤Ç¤Ê¤¤¹Ô¤ËÈÖ¹æ¤òÉÕ¤±¤ë¡£½é¤á¤Î¹Ô¤ò1¹ÔÌܤȤ¹¤ë¡£
57 .\"O Equivalent to `\fB\-vE\fR'.
61 .\"O Number all output lines, starting with 1.
62 ¤¹¤Ù¤Æ¤Î¹Ô¤ËÈÖ¹æ¤òÉÕ¤±¤ë¡£½é¤á¤Î¹Ô¤ò 1¹ÔÌܤȤ¹¤ë¡£
64 .B \-s, \-\-squeeze\-blank
65 .\"O Replace multiple adjacent blank lines with a single blank line.
66 Ϣ³¤·¤¿¶õÇò¹Ô¤ò¡¢1¤Ä¤Î¶õÇò¹Ô¤Ë¤Þ¤È¤á¤ë¡£
69 .\"O Equivalent to `\fB\-vT\fR'.
73 .\"O Ignored; for Unix compatibility.
74 ²¿¤â¤·¤Ê¤¤¡£ Unix ¤È¤Î¸ß´¹À¤Î¤¿¤á¤Ë¸ºß¤¹¤ë¡£
76 .B \-v, \-\-show\-nonprinting
77 .\"O Display control characters except for <LFD> and <TAB> using `^'
78 .\"O notation and precede characters that have the high bit set with
80 <LFD> ¤È <TAB> ¤È¤ò½ü¤¯À©¸æʸ»ú¤ò `^' ɽµ¤ò»È¤Ã¤Æɽ¼¨¤¹¤ë¡£
81 ¹â°Ì¥Ó¥Ã¥È¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ëʸ»ú¤Ï¡¢Á°¤Ë `M-' ¤òÃÖ¤¤¤Æɽ¤ï¤¹¡£
84 .\"O Equivalent to `\fB\-vET\fR'.
85 `\fB\-vET\fR' ¤ÈƱ¤¸¡£
88 .\"O On DOS platforms only, read and write files in binary mode. See notes
89 .\"O below for details on binary and text modes.
90 DOS ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Î¤ß¡£¥Õ¥¡¥¤¥ë¤ÎÆɤ߽ñ¤¤ò¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤Ç¹Ô¤¦¡£
91 ¥Ð¥¤¥Ê¥ê/¥Æ¥¥¹¥È¥â¡¼¥É¤Ë¤Ä¤¤¤Æ¤Ï°Ê²¼¤Îµ½Ò¤ò»²¾È¤Î¤³¤È¡£
93 .B \-E, \-\-show\-ends
96 .\"O after the end of each line.
101 .B \-T, \-\-show\-tabs
102 .\"O Display <TAB> characters as `^I'.
103 <TAB> ʸ»ú¤ò `^I' ¤Èɽ¼¨¤¹¤ë¡£
106 .\"O Print a usage message on standard output and exit successfully.
107 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
110 .\"O Print version information on standard output then exit successfully.
111 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
112 .\"O .SH DOS TEXT/BINARY MODE
113 .SH DOS ¤Î ¥Æ¥¥¹¥È/¥Ð¥¤¥Ê¥ê ¥â¡¼¥É
114 .\"O \fBcat\fR uses text mode by default, and binary mode when standard output is
115 .\"O redirected to a file or pipe. This behaviour can be changed by specifying
116 .\"O \fB\-\-binary\-fR or \fB\-\-show\-nonprinting\fR to use binary mode, or
117 .\"O \fB\-\-number\-blank\fR, \fB\-\-show\-ends\fR and \fB\-\-number\fR to use
120 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥Æ¥¥¹¥È¥â¡¼¥É¤òÍѤ¤¡¢
121 ɸ½à½ÐÎϤ¬¥Õ¥¡¥¤¥ë¤Þ¤¿¤Ï¥Ñ¥¤¥×¤Ë¥ê¥À¥¤¥ì¥¯¥È¤µ¤ì¤¿¤È¤¤Ë¤Ï
122 ¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤òÍѤ¤¤ë¡£
123 ¤³¤Î¿¶Éñ¤¤¤Ï¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÊѹ¹¤Ç¤¡¢
124 .BR \-\-binary " ¤ä " \-\-show-nonprinting
125 ¤ò»ØÄꤹ¤ì¤Ð¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤Ë¡¢
126 .BR \-\-number\-blank " ¤ä " \-\-show-ends " ¤ä " \-\-number
127 ¤ò»ØÄꤹ¤ì¤Ð¥Æ¥¥¹¥È¥â¡¼¥É¤Ë¤Ê¤ë¡£
129 .\"O Text mode involves character translation (for example <CR> to <CR><LF>), and
130 .\"O therefore is unsuitable for cat-copying files because it doesn't preserve
131 .\"O the original contents.
132 ¥Æ¥¥¹¥È¥â¡¼¥É¤Ç¤Ïʸ»úÊÑ´¹¤¬¹Ô¤ï¤ì¤ë (Î㤨¤Ð <CR> ¤ò <CR><LF> ¤Ø¡¢¤Ê¤É)¡£
133 ¤·¤¿¤¬¤Ã¤Æ cat ¤ò»È¤Ã¤¿¥Õ¥¡¥¤¥ë¥³¥Ô¡¼¤Ë¤ÏŬ¤µ¤Ê¤¤¡£
134 ¥ª¥ê¥¸¥Ê¥ë¤ÎÆâÍƤòÊݸ¤·¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
137 .\"O Report bugs to bug-textutils@gnu.org.
139 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
140 ¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï bug-textutils@gnu.org ¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
142 man ¥Ú¡¼¥¸¤Ï Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> ¤¬ºîÀ®¤·¤Þ¤·¤¿¡£