diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-26 12:45:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-26 12:45:54 +1200 |
commit | 88b0fa96a34c56260668e9dadac2f7188863be24 (patch) | |
tree | 60754149f3df894c292052533c82ea061c3a6b5a /bin | |
parent | Move argument check further up script (diff) | |
download | dotfiles-88b0fa96a34c56260668e9dadac2f7188863be24.tar.gz dotfiles-88b0fa96a34c56260668e9dadac2f7188863be24.zip |
Check we have ed(1)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/edda | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ 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 |