aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-26 11:39:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-26 11:39:35 +1200
commita7b766bf0c0e2becd498d0f126a89b5d569b5296 (patch)
tree7bb0f198493968fc9e929ce6d33d277e2cd9fbb3
parentAdd a flavour quote (diff)
downloaddotfiles-a7b766bf0c0e2becd498d0f126a89b5d569b5296.tar.gz
dotfiles-a7b766bf0c0e2becd498d0f126a89b5d569b5296.zip
Correct examples a bit
-rwxr-xr-xbin/edda2
-rw-r--r--man/edda.14
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/edda b/bin/edda
index 154fb415..0626f409 100755
--- a/bin/edda
+++ b/bin/edda
@@ -3,7 +3,7 @@
#
# edda(1) -- Run ed(1) over multiple files, duplicating stdin. Example:
#
-# $ edda /etc/app.d/*.conf <<EOF
+# $ edda -s /etc/app.d/*.conf <<EOF
# ,s/foo/bar/g
# w
# EOF
diff --git a/man/edda.1 b/man/edda.1
index a954ddc8..2a7ef501 100644
--- a/man/edda.1
+++ b/man/edda.1
@@ -3,12 +3,12 @@
.B edda
\- run ed(1) over multiple files
.SH SYNOPSIS
-.B ed [OPTS] [--] FILE1 [FILE2...]
+.B edda [OPTS] [--] FILE1 [FILE2...]
.SH DESCRIPTION
Duplicate any data on stdin into a temporary file, and run ed(1) with any given
options over each of the files given as the remaining arguments. Example:
.P
- $ edda /etc/app.d/*.conf <<EOF
+ $ edda -s /etc/app.d/*.conf <<EOF
,s/foo/bar/g
w
EOF