summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools-reference/sed/sed-7.ebuild')
-rw-r--r--tools-reference/sed/sed-7.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools-reference/sed/sed-7.ebuild b/tools-reference/sed/sed-7.ebuild
new file mode 100644
index 0000000..c7d9aa8
--- /dev/null
+++ b/tools-reference/sed/sed-7.ebuild
@@ -0,0 +1,4 @@
+# Header.
+
+# Replace any "hello"s which occur at the start of a line with "howdy".
+sed -i -e 's!^hello!howdy!' data.in || die "sed failed"