WC(1)			UNIX ¥³¥Þ¥ó¥É		WC(1)

¡ÎÌ¾Á°¡Ï
wc - ¥ï¡¼¥É¥«¥¦¥ó¥È

¡Î·Á¼°¡Ï
wc [-lwc][filename...]

¡Îµ¡Ç½ÀâÌÀ¡Ï
wc¤ÏfilenameÆâ¤Î¹Ô¿ô¡¢Ã±¸ì¿ô¤ª¤è¤ÓÊ¸»ú¿ô¤òÉ½¼¨¤·¤Þ¤¹¡£filename¤ò»ØÄê¤·¤Ê¤¤¾ì¹ç¤Ï¡¢É¸½àÆþÎÏ¤Î¹Ô¿ô¡¢Ã±¸ì¿ô¤ª¤è¤ÓÊ¸»ú¿ô¤òÉ½¼¨¤·¤Þ¤¹¡£¤Þ¤¿¡¢wc¤Ï»ØÄê¤µ¤ì¤¿¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤³¤ì¤é¤Î¹ç·×ÃÍ¤âÉ½¼¨¤·¤Þ¤¹¡£Ã±¸ì¤Ï¡¢¥¹¥Ú¡¼¥¹¡¢¥¿¥Ö¡¢¤Þ¤¿¤ÏÉüµ¢²þ¹Ô¤Ç¶èÀÚ¤Ã¤¿Ê¸»úÎó¤Ç¤¹¡£

¡ÎÆüËÜ¸ìµ¡Ç½¡Ï
wc¤ÏEUCÊ¸»ú¤ò´Þ¤à¥Õ¥¡¥¤¥ëµÚ¤Ó¥Õ¥¡¥¤¥ëÌ¾¤ò°·¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Ê£¿ô¥Ð¥¤¥È¤ÎÊ¸»ú¤Ï¡¢¥Ð¥¤¥È¤Ç¤Ï¤Ê¤¯Ê¸»ú¤È¤·¤Æ¥«¥¦¥ó¥È¤µ¤ì¤Þ¤¹¡£Ã±¸ì¤Î¶èÀÚ¤ê¤Ë¤Ï¡¢Á´³Ñ¤Î¥¹¥Ú¡¼¥¹¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£Á´³Ñ¥¹¥Ú¡¼¥¹¤ÏÄÌ¾ï¤Î2¥Ð¥¤¥ÈÊ¸»ú¤È¤·¤ÆÇ§¼±¤µ¤ì¤Þ¤¹¡£

¡Î¥ª¥×¥·¥ç¥ó¡Ï
¥³¥Þ¥ó¥É¹Ô¤Ëfilename¤ò»ØÄê¤¹¤ë¤È¡¢¤½¤Î¥Õ¥¡¥¤¥ëÌ¾¤Ï¥«¥¦¥ó¥È·ë²Ì¤È¶¦¤ËÉ½¼¨¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¾ÊÎ¬»ú¤ÎÀßÄê¤Ï -lwc¡Ê¹Ô¿ô¡¢Ã±¸ì¿ô¡¢Ê¸»ú¿ô¡Ë¤Ç¤¹¡£
-l	¹Ô¿ô¤ò¿ô¤¨¤ë¡£
-w	Ã±¸ì¿ô¤ò¿ô¤¨¤ë¡£
-c	Ê¸»ú¿ô¤ò¿ô¤¨¤ë¡£

¡Î»ÈÍÑÎã¡Ï
	%wc /usr/include/{stdio.h,ctype.h,stddef.h}
143		640		4581 /usr/include/stdio.h
62		191		1737 /usr/include/ctype.h
24		61		450 /usr/include/stddef.h
229		892		6768 total