User Tools

Site Tools


grep:regex_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
grep:regex_usage [2020/08/22 11:42] 192.168.1.1grep:regex_usage [2020/08/22 11:51] (current) 192.168.1.1
Line 79: Line 79:
 <WRAP info> <WRAP info>
 **NOTE:**  The pipe **|** means 'or'. **NOTE:**  The pipe **|** means 'or'.
 +
 +</WRAP>
 +
 +----
 +
 +===== Special Characters =====
 +
 +<code bash>
 +grep '\$' filename
 +</code>
 +
 +returns:
 +
 +<code bash>
 +broken$tuff
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  
 +
 +The **-F-- option can also be used, which stands for 'fixed string' or 'fast' in that it only searches for literal strings and not regexps.
  
 </WRAP> </WRAP>
  
grep/regex_usage.1598096540.txt.gz · Last modified: 2020/08/22 11:42 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki