aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-16 21:07:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-16 21:07:16 +1200
commitb3274a20cfc4ebc8b389bff5f061dbd4b91ee08f (patch)
treed72a3a205b27c4ddce36f12f5f92b41e16581083 /bin
parentUse regular BASH_VERSINFO check (diff)
downloaddotfiles-b3274a20cfc4ebc8b389bff5f061dbd4b91ee08f.tar.gz
dotfiles-b3274a20cfc4ebc8b389bff5f061dbd4b91ee08f.zip
Remove crufty hash call from edda(1)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/edda5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/edda b/bin/edda
index 589352be..f067774f 100755
--- a/bin/edda
+++ b/bin/edda
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
# Run ed(1) over multiple files, duplicating stdin.
-self=edda
# Give up completely if no BASH_VERSINFO (<2.0)
[ -n "$BASH_VERSINFO" ] || exit
@@ -16,10 +15,6 @@ if ! (($#)) ; then
exit 1
fi
-# Need ed(1) -- some systems daring to call themselves UNIX-like don't have it
-# installed by default. What's POSIX, precious?
-hash ed || exit
-
# Parse options out, give help if necessary
declare -a opts
for arg ; do