sed:sed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sed:sed [2020/08/17 10:49] – 192.168.1.1 | sed: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^ | + | |
- | |cat filename< | + | |
- | |sed ' | + | |
- | |sed ' | + | |
- | + | ||
- | + | ||
- | ===== Quoting Syntax ===== | + | |
- | + | ||
- | The preceding examples use single quotes (' | + | |
- | + | ||
- | Single quotes prevent the Unix shell from interpreting the dollar sign ($) and back-quotes (`...`), which are expanded by the shell if they are enclosed in double quotes. | + | |
- | + | ||
- | Users of the " | + | |
- | + | ||
- | Versions of sed written for DOS invariably require double quotes (" | + | |
+ | [[SED: | ||
---- | ---- | ||
Line 55: | Line 40: | ||
[[SED: | [[SED: | ||
+ | |||
+ | [[SED: | ||
[[SED: | [[SED: |
sed/sed.1597661376.txt.gz · Last modified: 2020/08/17 10:49 by 192.168.1.1