sun's longitude:08 47 22 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/read.php:¼Ò½ºº¸±â   
 
¾ËÆĹ®¼­
ÀÚÁÖ Àؾî¸Ô°Å³ª, ¸Þ¸ðÇØ µÑ Çʿ伺ÀÌ ÀÖ´Â ÆÁÀ̳ª ¹®¼­, ±âŸ µîµî
[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
4 ¹ø ±ÛÀÇ ´äÀå±Û: [grep /egrep]
±Û¾´ÀÌ: »êÀÌ [ȨÆäÀÌÁö] ±Û¾´³¯: 2003³â 11¿ù 18ÀÏ 10:26:38 È­(¿ÀÀü) Á¶È¸: 3133
FreeBSD/Linux

grep -E (same as `egrep', --extended-regexp)

ex)
grep -E '^(foo|bar)' file.txt

same as

grep '^\(foo\|boar\)'

In  basic  regular  expressions the metacharacters ?, +, {, |, (, and ) lose their
special meaning;
instead use the  backslashed  versions  \?, \+, \{, \|, \(, and \).



-E, --extended-regexp
-G, --basic-regexp
-i, --ignore-case
-q, --quiet, --silent

-n, --line-number          /*** good idea ***/
      Prefix each line of output with the line number within its
      input file.

-r, --recursive
      Read all files under each directory, recursively; this is
      equivalent to the -d recurse option.

-v, --invert-match

-x, --line-regexp
      Select only those matches that exactly match the whole line.


[:alnum:],
[:alpha:],
[:cntrl:],
[:digit:],
[:graph:],
[:lower:],
[:print:],
[:punct:],
[:space:],
[:upper:],
[:xdigit:]

For example, [[:alnum:]]  means [0-9A-Za-z]

A regular expression may be followed by one of several repetition
operators:
  ?      The preceding item is optional and matched at most once.
  *      The preceding item will be matched zero or more times.
  +      The preceding item will be matched one or more times.
  {n}    The preceding item is matched exactly n times.
  {n,}   The preceding item is matched n or more times.
  {n,m}  The preceding item is matched at least n  times,  but
         not  more than m times.


EOF

 
ÀÌÀü±Û : [GNU sed] ¸ÞŸ ¹®ÀÚ¿Í ±×·ìÈ­
´ÙÀ½±Û : [PHP] ³ª¸¸ÀÇ PHP ÁÖ¼® ´Þ±â  
 from 211.44.63.181
JS(Redhands)Board 0.4 +@

|±Û¾²±â| |´äÀå¾²±â| |¼öÁ¤| |»èÁ¦|
|ÀÌÀü±Û| |´ÙÀ½±Û| |¸ñ·Ïº¸±â|
Àμâ¿ë 

apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.04(server) + (network) + (browser) seconds