3947840b05
Interpretation of a chunk in cut.1 was helped by: Yoshihiko Sarumaru <mistral@imasy.or.jp>, hrs
90 lines
3.1 KiB
Groff
90 lines
3.1 KiB
Groff
.\" Copyright (c) 1980, 1993
|
|
.\" 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.
|
|
.\"
|
|
.\" @(#)fold.1 8.1 (Berkeley) 6/6/93
|
|
.\" %FreeBSD: src/usr.bin/fold/fold.1,v 1.12 2004/08/02 11:15:01 tjr Exp %
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd August 2, 2004
|
|
.Dt FOLD 1
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm fold
|
|
.Nd ͸·å¤Î½ÐÎϥǥХ¤¥¹¤Î¤¿¤á¤ËŤ¤¹Ô¤òÀÞ¤êÊÖ¤¹¥Õ¥£¥ë¥¿
|
|
.Sh ½ñ¼°
|
|
.Nm
|
|
.Op Fl bs
|
|
.Op Fl w Ar width
|
|
.Op Ar
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢file ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ì¤Ð¤½¤Î¥Õ¥¡¥¤¥ë¤ò¡¢
|
|
»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ðɸ½àÆþÎϤòÆɤ߹þ¤ß¡¢
|
|
»ØÄꤵ¤ì¤¿Ä¹¤µ¤òĶ¤¨¤ë¤è¤¦¤ÊÆþÎϹԤËÂФ·¤Æ¤Ï²þ¹Ô¤òÆþ¤ì¤ÆÊ£¿ô¤Î¹Ô¤Ëʬ³ä¤·¤Þ¤¹¡£
|
|
¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 80 ¥³¥é¥à¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
|
|
.Pp
|
|
¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹:
|
|
.Bl -tag -width indent
|
|
.It Fl b
|
|
.Ar width
|
|
¤ò¡¢¥«¥é¥à°ÌÃ֤ǤϤʤ¯¡¢¥Ð¥¤¥È°ÌÃ֤Ȥ·¤Æ¿ô¤¨¤Þ¤¹¡£
|
|
.It Fl s
|
|
ºÇ½é¤Î
|
|
.Ar width
|
|
¥«¥é¥à°ÌÃÖ (¤Þ¤¿¤Ï¥Ð¥¤¥È¿ô) °ÊÆâ¤ÎºÇ´ü¤Î¶õÇò¤Î¸å¤Ë¡¢¹Ô¤òÀÞ¤êÊÖ¤·¤Þ¤¹¡£
|
|
.It Fl w Ar width
|
|
¥Ç¥Õ¥©¥ë¥È¤Î 80 ¥³¥é¥à¤Î¤«¤ï¤ê¤Ë¡¢°ì¹Ô¤ÎŤµ¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
¥¿¥Ö¤¬¤¢¤ë¾ì¹ç¤Ï¡¢
|
|
.Ar width
|
|
¤È¤·¤Æ 8 ¤ÎÇÜ¿ô¤ò»ØÄꤹ¤ë¤«¡¢¤µ¤â¤Ê¤±¤ì¤Ð¡¢
|
|
.Nm
|
|
¤ÎÁ°¤Ë
|
|
.Xr expand 1
|
|
¤ò»ÈÍѤ·¤Æ¡¢¥¿¥Ö¤ò¶õÇòʸ»ú¤ËÃÖ¤´¹¤¨¤Æ¤¯¤À¤µ¤¤¡£
|
|
.El
|
|
.Sh ´Ä¶ÊÑ¿ô
|
|
.Xr environ 7
|
|
¤Ëµ½Ò¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢
|
|
.Ev LANG , LC_ALL , LC_CTYPE
|
|
´Ä¶ÊÑ¿ô¤Ï
|
|
.Nm
|
|
¤Î¼Â¹Ô¤Ë±Æ¶Á¤òµÚ¤Ü¤·¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr expand 1 ,
|
|
.Xr fmt 1
|
|
.Sh µ¬³Ê
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
|
|
.St -p1003.1-2001
|
|
¤ËŬ¹ç¤·¤Æ¤¤¤Þ¤¹¡£
|
|
.Sh ¥Ð¥°
|
|
¥¢¥ó¥À¥é¥¤¥ó¤¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢fold ¤¬¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
|