3947840b05
Interpretation of a chunk in cut.1 was helped by: Yoshihiko Sarumaru <mistral@imasy.or.jp>, hrs
238 lines
5.9 KiB
Groff
238 lines
5.9 KiB
Groff
.\" Copyright (c) 1980, 1990, 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.
|
|
.\"
|
|
.\" @(#)vgrind.1 8.1 (Berkeley) 6/6/93
|
|
.\" %FreeBSD: src/usr.bin/vgrind/vgrind.1,v 1.13 2004/07/02 22:22:33 ru Exp %
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd June 6, 1993
|
|
.Dt VGRIND 1
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm vgrind
|
|
.Nd ¥×¥í¥°¥é¥à¤Î¥½¡¼¥¹¤òÀ¶½ñ¤¹¤ë
|
|
.Sh ½ñ¼°
|
|
.Nm
|
|
.Op Fl
|
|
.Op Fl W
|
|
.Op Fl d Ar file
|
|
.Op Fl f
|
|
.Op Fl h Ar header
|
|
.Op Fl l Ns Ar language
|
|
.Op Fl n
|
|
.Op Fl p Ar postproc
|
|
.Op Fl sn
|
|
.Op Fl t
|
|
.Op Fl x
|
|
.Ar name Ar ...
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¥×¥í¥°¥é¥à¤Î¥½¡¼¥¹¤ò
|
|
.Xr troff 1
|
|
¤ò»È¤Ã¤ÆÀ¶½ñ¤·¤Þ¤¹¡£¥³¥á¥ó¥È
|
|
¤Ï¥¤¥¿¥ê¥Ã¥¯ÂΤǡ¢¥¡¼¥ï¡¼¥É¤Ï¥Ü¡¼¥ë¥ÉÂΤǡ¢¸½ºß°õºþÃæ¤Î´Ø¿ô̾¤Ï¡¢
|
|
³Æ¥Ú¡¼¥¸¤Î;ÇòÉôʬ¤ËÎóµó¤µ¤ì¤Þ¤¹¡£
|
|
.Pp
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ë¤Ï 2 ¤Ä¤Î´ðËÜŪ¤Ê¥â¡¼¥É¡¢¥Õ¥£¥ë¥¿¥â¡¼¥É(
|
|
.Fl f
|
|
¥ª¥×¥·¥ç¥ó¤Î¹à¤ò»²¾È)¤È
|
|
ɸ½à¥â¡¼¥É¤¬¤¢¤ê¤Þ¤¹¡£¥Õ¥£¥ë¥¿¥â¡¼¥É¤Ç¤Ï¡¢
|
|
.Nm
|
|
¤Ï
|
|
.Xr tbl 1
|
|
¤ÈƱÍÍ
|
|
¤Ë¿¶¤ëÉñ¤¤¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢°Ê²¼¤Î
|
|
.Em "troff ¥é¥¤¥¯"
|
|
¤Ê¥Þ¥¯¥í¤Ë°Ï¤Þ¤ì¤¿Éôʬ°Ê³°
|
|
¤ÏÁÇÄ̤·¤·¤Þ¤¹¡£
|
|
.Bl -tag -width Ds
|
|
.It \&.vS
|
|
½èÍýÎΰ賫»Ï
|
|
.It \&.vE
|
|
½èÍýÎΰ轪λ
|
|
.El
|
|
.Pp
|
|
¥Þ¥¯¥í¤Ë°Ï¤Þ¤ì¤¿¹Ô¤Ï´û¤Ë¼¨¤·¤¿¤è¤¦¤ËÀ¶½ñ¤µ¤ì¤Þ¤¹¡£
|
|
.Nm
|
|
¤«¤é¤Î½ÐÎϤò
|
|
.Xr troff 1
|
|
¤ËÅϤ¹¤³¤È¤Ë¤è¤ê°õºþ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Xr eqn 1
|
|
¤ä
|
|
.Xr tbl 1
|
|
¤È¤Î¸Æ¤Ó½Ð¤·½ç½ø¤Ë¤ÏÆÃÊ̤ÊÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£
|
|
.Pp
|
|
Ä̾ï¥â¡¼¥É¤Ç¤Ï¡¢
|
|
.Nm
|
|
¤ÏÆþÎÏ¥Õ¥¡¥¤¥ëÁ´ÂΤò½èÍý¤·¡¢
|
|
¥Ý¥¹¥È¥×¥í¥»¥Ã¥µ¤òµ¯Æ°¤·¤Æ½ÐÎϽèÍý¤ò¹Ô¤ï¤»¤Þ¤¹¡£
|
|
¥Ý¥¹¥È¥×¥í¥»¥Ã¥µ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï
|
|
.Xr psroff 1
|
|
¤Ç¤¹
|
|
.Pp
|
|
¤É¤Á¤é¤Î¥â¡¼¥É¤Ç¤â¡¢
|
|
.Nm
|
|
¤Ï¥Ô¥ê¥ª¥É¤Ç³«»Ï¤¹¤ë¹Ô¤ÏÊѹ¹¤»¤º¤Ë½ÐÎϤ·¤Þ¤¹¡£
|
|
.Pp
|
|
¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹¡£
|
|
.Bl -tag -width Ar
|
|
.It Fl
|
|
ɸ½àÆþÎϤ«¤éÆɤ߹þ¤ß¤Þ¤¹(
|
|
.Fl f
|
|
¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤¹)¡£
|
|
.It Fl W
|
|
(¥Ê¥í¡¼)¥Ð¥ê¥¢¥óÍѤǤϤʤ¯¡¢(¥ï¥¤¥É)¥Ð¡¼¥µ¥Æ¥Ã¥¯¥×¥ê¥ó¥¿¤Î½ÐÎϤò
|
|
¹Ô¤¤¤Þ¤¹¡£
|
|
.It Fl d Ar file
|
|
¥×¥í¥°¥é¥ß¥ó¥°¸À¸ìÄêµÁ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹(¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
|
|
.Pa /usr/share/misc/vgrindefs
|
|
¤ò»ÈÍѤ·¤Þ¤¹)¡£
|
|
.It Fl f
|
|
¥Õ¥£¥ë¥¿¥â¡¼¥É¤ÇÆ°ºî¤·¤Þ¤¹¡£
|
|
.It Fl h Ar header
|
|
³Æ¥Ú¡¼¥¸¤Î¥Ø¥Ã¥Àʸ»úÎó¤ò»ØÄꤷ¤Þ¤¹(¥Ç¥Õ¥©¥ë¥È¤ÏÆþÎÏ¥Õ¥¡¥¤¥ë̾¤Ç¤¹)¡£
|
|
.It Fl l
|
|
ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¤ò»ØÄꤷ¤Þ¤¹¡£¸½ºß»ÈÍѲÄǽ¤Ê¤â¤Î¤Ï°Ê²¼
|
|
¤Î¤È¤ª¤ê¤Ç¤¹:
|
|
.Tn PASCAL
|
|
.Pq Fl l Ns Ar p ,
|
|
.Tn MODEL
|
|
.Pq Fl l Ns Ar m ,
|
|
C
|
|
.Pf ( Fl l Ns Ar c
|
|
¤â¤·¤¯¤Ï¥Ç¥Õ¥©¥ë¥È),
|
|
.Tn C++
|
|
.Pq Fl l Ns Ar c++ ,
|
|
.Tn CSH
|
|
.Pq Fl l Ns Ar csh ,
|
|
.Tn SHELL
|
|
.Pq Fl l Ns Ar sh ,
|
|
.Tn RATFOR
|
|
.Pq Fl l Ns Ar r ,
|
|
.Tn MODULA2
|
|
.Pq Fl l Ns Ar mod2 ,
|
|
.Tn YACC
|
|
.Pq Fl l Ns Ar yacc ,
|
|
.Tn LISP
|
|
.Pq Fl l Ns Ar isp ,
|
|
.Tn ICON
|
|
.Pq Fl l Ns Ar I ,
|
|
.Tn PERL
|
|
.Pq Fl l Ns Ar perl
|
|
¡£
|
|
.It Fl n
|
|
¥¡¼¥ï¡¼¥É¤Î¥Ü¡¼¥ë¥É²½¤ò¹Ô¤¤¤Þ¤»¤ó¡£
|
|
.It Fl p Ar postproc
|
|
.Ar postproc
|
|
¤ò½ÐÎϤΥݥ¹¥È¥×¥í¥»¥Ã¥µ¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£
|
|
.Xr psroff 1
|
|
¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£
|
|
.It Fl s
|
|
½ÐÎÏʸ»ú¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ò»ØÄꤷ¤Þ¤¹(troff ¤Î .ps ¤ÈƱ¤¸°ú¿ô¤Ç¤¹)¡£
|
|
.It Fl t
|
|
.Xr troff 1
|
|
¤ÎƱ°ì¤Î¥ª¥×¥·¥ç¥ó¤ÈƱ¤¸¤¯¡¢
|
|
¥Õ¥©¡¼¥Þ¥Ã¥È¸å¡¢É¸½à½ÐÎϤ˽ñ¤½Ð¤·¤Þ¤¹¡£
|
|
.It Fl x
|
|
¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤òÀ¶½ñ¤·¤Þ¤¹¡£
|
|
.Nm
|
|
¤Ï¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë
|
|
.Pa index
|
|
¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¤Ä¤Í¤Ë¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò
|
|
½ÐÎϤ·¤Þ¤¹¡£¤³¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤ò
|
|
.Nm
|
|
¤Ë
|
|
.Fl x
|
|
¥ª¥×¥·¥ç¥ó¤È¤È¤â
|
|
¤Ë»ØÄꤹ¤ë¤³¤È¤Ç¡¢À¶½ñ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.El
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /usr/share/misc/vgrindefsxx -compact
|
|
.It Pa index
|
|
¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë
|
|
.It Pa /usr/share/tmac/tmac.vgrind
|
|
¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸
|
|
.It Pa /usr/libexec/vfontedpr
|
|
¥×¥ê¥×¥í¥»¥Ã¥µ
|
|
.It Pa /usr/share/misc/vgrindefs
|
|
¸À¸ìµ½Ò¥Õ¥¡¥¤¥ë
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr getcap 3 ,
|
|
.Xr vgrindefs 5
|
|
.Sh ¥Ð¥°
|
|
vfontedpr ¥×¥ê¥×¥í¥»¥Ã¥µ¤Ï¡¢°Ê²¼¤Î¥×¥í¥°¥é¥ß¥ó¥°¥¹¥¿¥¤¥ë¤ò²¾Äꤷ¤Æ¤¤¤Þ¤¹:
|
|
.Pp
|
|
.Tn C ¸À¸ì
|
|
\- ´Ø¿ô̾¤Ï¡¢¶õÇò¤Þ¤¿¤Ï¥¢¥¹¥¿¥ê¥¹¥¯¤Î¤ß¤«¤é¤Ê¤ë¹Ô¤Îľ¸å¤Ë¤¢¤ê¡¢³ç
|
|
¸Ì¤Ç¤¯¤¯¤é¤ì¤¿°ú¿ô¥ê¥¹¥È¤¬Æ±¤¸¹Ô¤Ë¤¢¤ë¡£
|
|
.Pp
|
|
.Tn PASCAL
|
|
\- ´Ø¿ô̾¤Ï¡¢¥¡¼¥ï¡¼¥É
|
|
.Em function
|
|
¤Þ¤¿¤Ï
|
|
.Em procedure
|
|
¤ÈƱ¤¸¹Ô¤Ë¤¢¤ë¡£
|
|
.Pp
|
|
.Tn MODEL
|
|
\- ´Ø¿ô̾¤Ï¡¢¥¡¼¥ï¡¼¥É
|
|
.Em is beginproc
|
|
¤ÈƱ¤¸¹Ô¤Ë¤¢¤ë¡£
|
|
.Pp
|
|
¤â¤·°Ê¾å¤Ë½¾¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹¤È;Çò¤Ø¤Î´Ø¿ô̾°õºþ¤¬ÉÔÀµ³Î¤Ê
|
|
¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£
|
|
.Pp
|
|
¤½¤Î¾¡¢¤¤¤¯¤Ä¤«¤Î¥×¥í¥°¥é¥ß¥ó¥°¥¹¥¿¥¤¥ë¤Ï¤¤ì¤¤¤ËÀ¶½ñ¤µ¤ì¤Þ¤»¤ó:
|
|
¥Ö¥é¥ó¥¯¤Ë¤è¤Ã¤Æ¥½¡¼¥¹¥³¡¼¥É¤ÎÀèƬ¤Ê¤É¤ò·¤¨¤¿¾ì¹ç¡¢Àµ¤·¤¯¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì
|
|
¤Þ¤»¤ó¡£
|
|
.Nm
|
|
¤ò»È¤Ã¤ÆÀ¶½ñ¤¹¤ë¾ì¹ç¤Ï¡¢¥¿¥Ö¤Ë¤è¤Ã¤Æ¥½¡¼¥¹¥³¡¼¥É¤ò·¤¨¤ë
|
|
¤è¤¦¤Ë¤·¤Þ¤¹¡£¤³¤ì¤Ï
|
|
.Nm
|
|
¤¬²ÄÊÑÉý¥Õ¥©¥ó¥È¤ò»ÈÍѤ¹¤ë¤«¤é¤Ç¤¹¡£
|
|
.Pp
|
|
.Nm
|
|
¤Ï¡¢
|
|
.Xr ctags 1
|
|
¤¬´Ø¿ô¤ò¸¡½Ð¤¹¤ëÊý¼°¤òºÎÍѤ¹¤Ù¤¤Ç¤¹¡£
|
|
.Pp
|
|
¥Õ¥£¥ë¥¿¥â¡¼¥É¤Ï
|
|
.Fl me
|
|
¤Þ¤¿¤Ï
|
|
.Fl ms
|
|
¥Þ¥¯¥í¤òÍѤ¤¤¿¥É¥¥å¥á¥ó¥È¤Ç¡¢Àµ¤·¤¯Æ°ºî¤·¤Þ¤»¤ó¡£
|
|
(¤³¤Î¥â¡¼¥É¤Ï°ìÂΤɤ³¤Ç»È¤¦¤Î¤Ç¤·¤ç¤¦)
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¤Ï
|
|
.Bx 3.0
|
|
¤ÇÄɲ䵤ì¤Þ¤·¤¿¡£
|