=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                             UNIX GURU UNIVERSE
                                UNIX HOT TIP

                       Unix Tip 2744 - July  8, 2007

                   
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

출력결과 읽기

vi에서 다음을 입력하라:

:r !my_command

위 명령은 편집하고 있는 다음 라인에 입력한 명령의 출력결과가 입력될 것이다.

@@@@@@@@@@@@@@@[원문]@@@@@@@@@@@@@@@@

READ IN THE OUTPUT

While in VI, if you enter:

:r !my_command

Then you will insert the output of
the command you've entered on the
next line of the file that you're editing.

반응형
Posted by She쥐포s

블로그 이미지
She쥐포s
Yesterday
Today
Total

달력

 « |  » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

글 보관함