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 9: | Line 9: | ||
---- | ---- | ||
- | ===== Typical Usage ===== | + | [[SED: |
- | + | ||
- | ^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 (" | + | |
---- | ---- | ||
Line 58: | Line 40: | ||
[[SED: | [[SED: | ||
+ | |||
+ | [[SED: | ||
[[SED: | [[SED: |
sed/sed.1597661389.txt.gz · Last modified: 2020/08/17 10:49 by 192.168.1.1