m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-02-16 23:33:24 -0500
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-02-16 23:33:24 -0500
commitc4f0566b08e12cee6e9befb1ab2fbf99903e58fe (patch)
treed41d74a831d8e6f4619aa16feaa9355c28dc77bb
parent334fa6ba0b6b3d4ced4b963980febde56547bd12 (diff)
Add sed
-rw-r--r--sed.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/sed.md b/sed.md
new file mode 100644
index 0000000..e2cc9bd
--- /dev/null
+++ b/sed.md
@@ -0,0 +1,9 @@
+# Sed, the standard stream editor
+
+Typical substitution:
+
+ sed -e 's/pattern/replacement/flags'
+
+Can do multiple:
+
+ sed -e 's/pattern/replacement/flags; s/bla/ble/'