m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/'