Penguin
Diff: RegularExpression
EditPageHistoryDiffInfoLikePages

Differences between version 9 and previous revision of RegularExpression.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 9 Last edited on Wednesday, July 27, 2005 7:13:42 pm by MattBrown Revert
Older page: version 8 Last edited on Wednesday, July 27, 2005 7:12:42 pm by MattBrown Revert
@@ -21,11 +21,9 @@
  sed 's/foo/baz/g' <a.txt >b.txt 
 will search for "foo" and replace it with "baz" in a.txt and output the result in b.txt 
 ----- 
 perl(1) can also be used for inplace substitutions like so 
-<verbatim>  
- perl -pi -e 's/foo/bar/g' a.txt  
-</verbatim>  
+ perl -pi -e 's/foo/bar/g' a.txt 
 will replace all instances of "foo" with "bar" in a.txt 
  
 See also: 
 * perlrun(1)