User Tools

Site Tools


sed:sed

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sed:sed [2020/08/17 10:46] 192.168.1.1sed:sed [2020/08/17 10:59] (current) 192.168.1.1
Line 7: Line 7:
 After all the commands have been applied to the first input line, that line is output and a second input line is taken for processing, and the cycle repeats.  After all the commands have been applied to the first input line, that line is output and a second input line is taken for processing, and the cycle repeats. 
  
-===== Typical Usage =====+----
  
-^Example Usage^Comment^ +[[SED:Introduction|Introduction]]
-|cat filename<nowiki> | </nowiki>sed '10q'|Uses piped input.| +
-|sed '10q' filename|Same effect, avoids a useless "cat".| +
-|sed '10q' filename > newfile|Redirects output to disk.|+
  
 ---- ----
Line 43: Line 40:
  
 [[SED:Reverse|Reverse]] [[SED:Reverse|Reverse]]
 +
 +[[SED:Special Characters|Special Characters]]
  
 [[SED:uuencoding|uuencoding]] [[SED:uuencoding|uuencoding]]
sed/sed.1597661202.txt.gz · Last modified: 2020/08/17 10:46 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki