COL

Section: User Commands (1)
Index
Return to Main Contents

BSD mandoc
 

NAME

col - ÀÔ·ÂÀ¸·ÎºÎÅÍ ÁÙ ¹Ù²Þ¹®ÀÚ(line feed)¸¦ ¹Ù²Ù´Â ÇÊÅÍ  

SYNOPSIS

col [-bfx ] [-l num ]  

DESCRIPTION

Col ÇÊÅÍ´Â "\n\r" ¹®ÀÚ¸¦ "\n" ¹®ÀÚ·Î ¹Ù²Ù¾î ÁÖ´Â ÇÊÅÍÀÌ´Ù. ¶ÇÇÑ °ø¹é¹®ÀÚ¸¦ Åǹ®ÀÚ·Î ¹Ù²Ù°í, ¹é½ºÆäÀ̽º ¹®ÀÚ¸¦ ¾ø¾Ö´Â ±â´ÉÀ» ÇÑ´Ù. ÀÌ ÇÊÅÍ´Â nroff(1) ¿Í tbl(1) Ãâ·Â¹°ÀÇ Ã³¸®¿¡ ¾ÆÁÖ À¯¿ëÇÏ°Ô ¾²ÀδÙ. (ÀÌ µÎ Ç®±×¸²¿¡ ÀÇÇؼ­ ¸¸µé¾îÁö´Â ´ëÇ¥ÀûÀÎ Ãâ·ÂÀÌ manÀÇ cat ÆÄÀÏÀÌ´Ù. Áï, cat ÆÄÀÏÀ» ´Ü¼ø ÅؽºÆ® ÆÄÀÏ·Î ¹Ù²Ù´Âµ¥ ¾ÆÁÖ À¯¿ëÇÏ°Ô ¾²ÀδÙ.)

Col ÇÊÅʹ ǥÁØ ÀÔ·ÂÀ¸·Î ¹Þ¾Æ¼­ Ç¥ÁØ Ãâ·ÂÀ¸·Î º¸³½´Ù. (Áï, ÆÄÀÏ·Î ÀúÀåÇÏ·Á¸é, ÆÄÀÌÇÁ¿Í ¹æÇâÀüȯÀÌ ÇÊ¿äÇÏ´Ù.)

¿©±â¼­ »ç¿ëµÇ´Â ¿É¼ÇÀº ´ÙÀ½°ú °°´Ù:

-b
¾î¶°ÇÑ ¹é½ºÆäÀ̽º ¹®ÀÚµµ Ãâ·ÂÇÏÁö ¾Ê´Â´Ù. ÀÌ°ÍÀº ÆѽºÆäÀ̽º ¹®ÀÚ¿Í ¿¬°áµÇ´Â ¸¶Áö¸· ¹®ÀÚ¸¸ Ãâ·ÂÇÑ´Ù.
-f
¹ØÁÙ ¼Ó¼ºÀ» °¡Áø ¹®ÀÚ¿­À»(Forward half line feed) º¯È¯ÇÏÁö ¾Ê´Â´Ù. ÀϹÝÀûÀ¸·Î ¹ØÁÙ ¼Ó¼ºÀ» °¡Áø ¹®ÀÚ¿­µéÀº ´ÙÀ½ÁÙ¿¡¼­ ¹ØÁÙ(-)ÀÌ ³ªÅ¸³­´Ù.(±×·±µ¥, ½ÇÁúÀûÀ¸·Î colcrt(1) ÇÊÅ͸¦ »ç¿ëÇÏÁö ¾Ê°í´Â Á¦´ë·Î ÀÌ ±â´ÉÀÌ ³ªÅ¸³ªÁö ¾Ê´õ±º¿ä. - ¿Å±äÀÌ ¸»)
-h
¿©·¯ °ø¹é¹®ÀÚ¸¦ Åǹ®ÀÚ·Î ¹Ù²Û´Ù.
-x
¿©·¯ °ø¹é¹®ÀÚµéÀ» ±×´ë·Î µÐ´Ù.
-l num
¸Þ¸ð¸®¿¡ Çѹø¿¡ µÑ¼ö ÀÖ´Â ÃÖ´ë ÁÙ¼ö¸¦ num ÁÙ·Î ÇÑ´Ù. ÃʱⰪÀº 128ÁÙÀÌ´Ù.

´ÙÀ½Àº col ¸í·É¿¡¼­ º¯È¯´ë»óÀÌ µÇ´Â °¢Á¾ ¹®ÀÚµéÀÌ´Ù:

ESC-7
reverse line feed (escape then 7)
ESC-8
half reverse line feed (escape then 8)
ESC-9
half forward line feed (escape then 9)
backspace
moves back one column (8); ignored in the first column
carriage return
(13)
newline
forward line feed (10); also does carriage return
shift in
shift to normal character set (15)
shift out
shift to alternate character set (14)
space
moves forward one column (32)
tab
moves forward to next tab stop (9)
vertical tab
reverse line feed (11)

À­ ¹®ÀÚµé°ú ¿µ¹®, ¼ýÀÚ, ±Û¼èÆÇ¿¡ ÀÖ´Â °¢Á¾ ±âÈ£¸¦ Á¦¿ÜÇÑ ³ª¸ÓÁö ¹®ÀÚµéÀº ¸ðµÎ ¹«½ÃµÇ¾î¹ö¸°´Ù. (Áï ÇѱÛÀº ¿ÏÀü ¹«½ÃµÇ¾î¹ö¸°´Ù. - ¿Å±äÀÌ ¸»)  

°ü·Ã Ç׸ñ

expand(1), nroff(1), tbl(1)  

HISTORY

col ¸í·ÉÀº Version 6 AT&T UNIX¿¡¼­ óÀ½ »ç¿ëµÇ¾ú´Ù.


 

Index

NAME
SYNOPSIS
DESCRIPTION
°ü·Ã Ç׸ñ
HISTORY

This document was created by man2html, using the manual pages.
Time: 08:06:55 GMT, March 25, 2004