aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvpeval4
-rw-r--r--vprc3
2 files changed, 3 insertions, 4 deletions
diff --git a/vpeval b/vpeval
index d2226d4..4c5b785 100755
--- a/vpeval
+++ b/vpeval
@@ -1,4 +1,2 @@
#!/bin/sh
-c=`sed '/^#/d'`
-echo "$c"
-echo "$(eval "$c" 2>&1)" | sed 's/^/# /'
+echo "$(eval "$(sed '/^#/d')" 2>&1)" | sed 's/^/# /'
diff --git a/vprc b/vprc
index 6616e50..348d5cb 100644
--- a/vprc
+++ b/vprc
@@ -1,2 +1,3 @@
-map g :1,$!vpeval /^# k$
+set leftright
+map g mgGo#:1 y/^# nP!Gvpeval `g
map q :1,/^#/-1d :%s/^# //g :1