어떤 정규식이 있을 때... 정규식에 맞는 부분만 출력 하게 해주는 tool이 있는지요? 한 라인이 아니라 그 부분만...
<어떠한 역경에도 굴하지 않는 '하양 지훈'>
추신_날이 덥군요 ㅡㅡㅋ
grep으로, -o 옵션 넣어서 해 보세요.
-o, --only-matching Show only the part of a matching line that matches PATTERN. 이라고 하네요.
감사합니다. ^^
#include <com.h> <C2H5OH.h> <woman.h> do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
흠...
grep으로,
-o 옵션 넣어서 해 보세요.
-o, --only-matching
Show only the part of a matching line that matches PATTERN.
이라고 하네요.
감사합니다. ^^ <어떠한 역경에도 굴하지 않는 '하양 지훈
감사합니다. ^^
<어떠한 역경에도 굴하지 않는 '하양 지훈'>
#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);
댓글 달기