aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-01-02 19:11:53 +0100
committerLeah Neukirchen <leah@vuxu.org>2019-01-02 19:11:53 +0100
commit55c188a0c82a476cc6a2954b16c1ecb67d6bc14c (patch)
tree83e5d0b3eca9eb7931d7134de884a9cf2b2fff31
parent1349f617de10d156b11480a30a69ea280500a75c (diff)
downloadmblaze-55c188a0c82a476cc6a2954b16c1ecb67d6bc14c.tar.gz
mless: remove mnext/mprev
-rw-r--r--GNUmakefile2
-rwxr-xr-xmless6
l---------mnext1
l---------mprev1
4 files changed, 1 insertions, 9 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0d7d0a3..04f4944 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -59,8 +59,6 @@ install: FRC all
$(DESTDIR)$(MANDIR)/man5 \
$(DESTDIR)$(MANDIR)/man7
install -m0755 $(ALL) $(SCRIPT) $(DESTDIR)$(BINDIR)
- ln -sf mless $(DESTDIR)$(BINDIR)/mnext
- ln -sf mless $(DESTDIR)$(BINDIR)/mprev
ln -sf mcom $(DESTDIR)$(BINDIR)/mbnc
ln -sf mcom $(DESTDIR)$(BINDIR)/mfwd
ln -sf mcom $(DESTDIR)$(BINDIR)/mrep
diff --git a/mless b/mless
index 91391ed..8692722 100755
--- a/mless
+++ b/mless
@@ -53,11 +53,7 @@ if ! [ -t 1 ]; then
exec mseq :
fi
-case "$0" in
- *mnext) set -- +;;
- *mprev) set -- -;;
- *) [ "$#" -eq 1 ] && set -- ${1:-.};;
-esac
+[ "$#" -eq 1 ] && set -- ${1:-.}
if [ "$#" -ge 1 ]; then
mseq -C "$1"
diff --git a/mnext b/mnext
deleted file mode 120000
index a840191..0000000
--- a/mnext
+++ /dev/null
@@ -1 +0,0 @@
-mless \ No newline at end of file
diff --git a/mprev b/mprev
deleted file mode 120000
index a840191..0000000
--- a/mprev
+++ /dev/null
@@ -1 +0,0 @@
-mless \ No newline at end of file