3947840b05
Interpretation of a chunk in cut.1 was helped by: Yoshihiko Sarumaru <mistral@imasy.or.jp>, hrs
134 lines
4.4 KiB
Groff
134 lines
4.4 KiB
Groff
.\" Copyright (c) 1989, 1991, 1993, 1994
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" @(#)vis.1 8.4 (Berkeley) 4/19/94
|
||
.\" %FreeBSD: src/usr.bin/vis/vis.1,v 1.11 2004/07/02 22:25:40 ru Exp %
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd June 25, 2004
|
||
.Dt VIS 1
|
||
.Os
|
||
.Sh ̾¾Î
|
||
.Nm vis
|
||
.Nd ɽ¼¨ÉÔ²Äǽ¤Ê¥¥ã¥é¥¯¥¿¤ò¡¢É½¼¨²Äǽ¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç½ÐÎϤ¹¤ë
|
||
.Sh ½ñ¼°
|
||
.Nm
|
||
.Op Fl cbflnostw
|
||
.Op Fl F Ar foldwidth
|
||
.Op Ar
|
||
.Sh ²òÀâ
|
||
.Nm
|
||
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
|
||
ɽ¼¨ÉÔ²Äǽ¤Ê¥¥ã¥é¥¯¥¿¤ò¥Ó¥¸¥å¥¢¥ë¤Ëɽ¸½¤ËÊÑ´¹¤¹¤ë¥Õ¥£¥ë¥¿¤Ç¤¹¡£
|
||
.Ql cat -v
|
||
¤È°Û¤Ê¤ê¡¢ÊÑ´¹¤·¤¿½ÐÎϤϥæ¥Ë¡¼¥¯¤Ç¡¢µÕÊÑ´¹²Äǽ¤Ç¤¹¡£
|
||
¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¶õÇòʸ»ú¡¢¥¿¥Ö¡¢¤ª¤è¤Ó²þ¹Ô (¥Ë¥å¡¼¥é¥¤¥ó) ¤ò½ü¤¯
|
||
ɽ¼¨ÉÔ²Äǽ¤ÊÁ´¥¥ã¥é¥¯¥¿¤¬¥¨¥ó¥³¡¼¥É¤µ¤ì¤Þ¤¹¡£¥¨¥ó¥³¡¼¥É¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Î
|
||
¾ÜºÙ¤Ï¡¢
|
||
.Xr vis 3
|
||
¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹¡£
|
||
.Pp
|
||
¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
|
||
.Bl -tag -width Ds
|
||
.It Fl b
|
||
¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥ó¥³¡¼¥É¤Ï¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤È¾åÌð°õ(¥¥ã¥ì¥Ã¥È)
|
||
¤È¥á¥¿¥¥ã¥é¥¯¥¿¤ÎÁȤ߹ç¤ï¤»¤Ç¤¹¤¬¡¢¤³¤ì¤Ë¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤òÆþ¤ì¤Ê¤¤¤è¤¦¤Ë¤·
|
||
¤Þ¤¹¡£¤³¤Î½ÐÎϤÏÀµ³Î¤Ç¤Ï¤Ê¤¯¡¢µÕÊÑ´¹¤â¤Ç¤¤Þ¤»¤ó¤¬¡¢
|
||
ÆþÎϤËÂФ·¤ÆºÇ¤âÊѹ¹¤¬¾¯¤Ê¤¤É½¸½¤Ç¤¹¡£½ÐÎϤϡ¢
|
||
.Dq Li cat -v
|
||
¤Ë¤è¤¯»÷¤¿¤â¤Î¤È¤Ê¤ê¤Þ¤¹¡£
|
||
.It Fl c
|
||
°ìÉô¤Îɽ¼¨ÉÔ²Äǽ¤Ê¥¥ã¥é¥¯¥¿¤Ë¡¢C ¸À¸ì¤Î¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¥·¡¼¥±¥ó¥¹¤ò
|
||
»È¤Ã¤Æɽ¼¨¤·¤Þ¤¹¡£
|
||
.It Fl F Ar foldwidth
|
||
.Xr fold 1
|
||
ƱÍÍ¡¢1 ¹Ô¤Îɽ¼¨Éý¤ò
|
||
.Ar foldwidth
|
||
¤Ë¼ý¤á¤Þ¤¹(¥Ç¥Õ¥©¥ë¥È¤Ï 80·å)¡£¤¿¤À¤·
|
||
.Xr fold 1
|
||
¤È°Û¤Ê¤ê¡¢ÆÃÊ̤ʸ«¤¨¤Ê¤¤²þ¹Ô¥·¡¼¥±¥ó¥¹¤òÍѤ¤¤Þ¤¹¡£
|
||
¤³¤Î²þ¹Ô¤Ï
|
||
.Xr unvis 1
|
||
¤Ç¸µ¤Î¥Õ¥¡¥¤¥ë¤ËÌ᤹ºÝ¤Ë¼è¤ê½ü¤«¤ì¤Þ¤¹¡£
|
||
¤â¤·¥Õ¥¡¥¤¥ë¤ÎºÇ¸å¤Îʸ»ú¤¬²þ¹Ô¤Ç½ª¤Ã¤Æ¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢½ÐÎϤË
|
||
¸«¤¨¤Ê¤¤²þ¹Ô¥·¡¼¥±¥ó¥¹¤òÉղä·¤Þ¤¹¡£
|
||
ÉÔ´°Á´¤Ê¹Ô¤¬¤¢¤ë¤È¤¦¤Þ¤¯Æ°ºî¤·¤Ê¤¤¿ô¡¹¤Î¥¨¥Ç¥£¥¿¤ä¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤â
|
||
Àµ¤·¤¯°·¤¨¤ë·Á¼°¤Î½ÐÎϤ¬ÆÀ¤é¤ì¤Þ¤¹¡£
|
||
.It Fl f
|
||
.Fl F
|
||
¤ÈƱ¤¸¤Ç¤¹¡£
|
||
.It Fl l
|
||
²þ¹Ô°ÌÃÖ¤¬¸«¤¨¤ë¤è¤¦¤Ë¡¢²þ¹Ô¤ÎÁ°¤Ë
|
||
.Ql \e$
|
||
¤òÁÞÆþ¤·¤Þ¤¹¡£
|
||
.It Fl n
|
||
¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤ÎÆó½Å²½¤È
|
||
.Fl f
|
||
¤â¤·¤¯¤Ï
|
||
.Fl F
|
||
»ØÄê»þ¤ËÁÞÆþ¤µ¤ì¤ë¸«¤¨¤Ê¤¤²þ¹Ô¥·¡¼¥±¥ó¥¹°Ê³°¤Ï¥¨¥ó¥³¡¼¥É¤·¤Ê¤¤¤è¤¦¤Ë
|
||
¤·¤Þ¤¹¡£
|
||
.Fl f
|
||
¥Õ¥é¥°¤ÈÁȤ߹ç¤ï¤»¤¿¤È¤¤ÎÆ°ºî¤Ï¡¢
|
||
µÕÊÑ´¹²Äǽ¤Ê
|
||
.Xr fold 1
|
||
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤È¹Í¤¨¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
¤Ä¤Þ¤ê¡¢½ÐÎϤò
|
||
.Xr unvis 1
|
||
¤Ë¤«¤±¤ë¤³¤È¤Ç fold ¾õÂÖ¤ò¸µ¤ËÌ᤹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
.It Fl o
|
||
ɽ¼¨ÉÔ²Äǽ¤Ê¥¥ã¥é¥¯¥¿ \eddd ¤È¤¤¤¦¤è¤¦¤Ë¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å
|
||
¤È8¿Ê¿ôɽ¸½¤Çɽ¼¨¤·¤Þ¤¹¡£
|
||
.It Fl s
|
||
üËö¤ËÁ÷¤ë¤Î¤¬Å¬ÀڤǤϤʤ¤¥¥ã¥é¥¯¥¿¤À¤±¤ò¥¨¥ó¥³¡¼¥É¤·¤Þ¤¹¡£
|
||
¥Ç¥Õ¥©¥ë¥È¤Î¶õÇòʸ»ú¤ä¥¿¥Ö¡¢²þ¹Ô¤Ë²Ã¤¨¡¢
|
||
¥Ð¥Ã¥¯¥¹¥Ú¡¼¥¹¤ä¥Ù¥ë¡¢Éüµ¢ (carriage return) ¤â¤½¤Î¤Þ¤Þ½ÐÎϤµ¤ì¤Þ¤¹¡£
|
||
.It Fl t
|
||
¥¿¥Ö¤ò¥¨¥ó¥³¡¼¥ÉÂоݤˤ·¤Þ¤¹¡£
|
||
.It Fl w
|
||
¶õÇò¡¢¥¿¥Ö¡¢²þ¹Ô¤â¥¨¥ó¥³¡¼¥ÉÂоݤˤ·¤Þ¤¹¡£
|
||
.El
|
||
.Sh ´ØÏ¢¹àÌÜ
|
||
.Xr unvis 1 ,
|
||
.Xr vis 3
|
||
.Sh Îò»Ë
|
||
.Nm
|
||
¥³¥Þ¥ó¥É¤Ï
|
||
.Bx 4.4
|
||
¤«¤éÅо줷¤Þ¤·¤¿¡£
|
||
.Sh ¥Ð¥°
|
||
΢¤Ç»È¤ï¤ì¤Æ¤¤¤ë
|
||
.Xr vis 3
|
||
´Ø¿ô¤ÎÀ©¸Â¤Î¤¿¤á¡¢
|
||
.Nm
|
||
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤òǧ¼±¤·¤Þ¤»¤ó¡£
|
||
¤³¤Î¤¿¤á¡¢¤½¤ì¤é¤¬¼ÂºÝ¤Ë¤Ïɽ¼¨²Äǽ¤Êʸ»ú¤Ç¤¢¤Ã¤¿¤È¤·¤Æ¤â¡¢
|
||
ɽ¼¨ÉÔ²Äǽ¤Êʸ»ú¤È¤·¤Æ°·¤ï¤ì¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹ (¤Þ¤¿¤½¤ÎµÕ¤â¤¢¤ê¤Þ¤¹)¡£
|