Difference between revisions of "Grep"

From Icelandic Parsed Historical Corpus (IcePaHC)
Jump to: navigation, search

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 863

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 864

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Line 1: Line 1:
 
<pre>
 
<pre>
−
grep "fram" $ice          # finds any instance where "fram" occurs
+
grep "fram" $ice          # finds every instance where "fram" occurs
  
 
Example of results:
 
Example of results:
Line 24: Line 24:
 
    (PP (RP fram-fram)
 
    (PP (RP fram-fram)
 
  (PP (RP fram-fram)
 
  (PP (RP fram-fram)
 +
</pre>
 +
 +
<pre>
 +
grep -C3 "fram" $ice      # finds every instance of "fram" + the 3 phrases/tags before and after it
 
</pre>
 
</pre>

Revision as of 15:49, 9 June 2010

grep "fram" $ice          # finds every instance where "fram" occurs

Example of results:
			      (RP fram-fram)
		  (ADVP (ADVR framar-framar)
		     (ADVP (ADVR framar-framar)
	    (ADVP (ADVR framar-framar)
												      (NP-MSR (ADJS framast-framar))))
	  (NP-MSR (PRO-D því-það) (ADJR framar-framar))
							   (ADJR framar-framar)
											       (ADVP (ADV jafnframarla-jafnframarlega))
							     (RP fram-fram))))))
										      (RP fram-fram)
	  (RP fram-fram)
	  (RP fram-fram)
		  (NP-MSR (ADJR framar-framar)))
				    (NP-MSR (ADJR framar-framar)
	      (P fram-fram))
			(RP fram-fram)
( (IP-MAT (PP (RP Fram-fram)
		   (ADJP (ADJ framgjarn-framgjarn)
			      (ADVP-DIR (ADV framan-framan))
		    (PP (RP fram-fram)
	  (PP (RP fram-fram)
grep -C3 "fram" $ice       # finds every instance of "fram" + the 3 phrases/tags before and after it