From 126d3131e180d17d058f80b86f74dde5bfafffd5 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 5 May 2000 11:10:47 +0000 Subject: use `eval' in nslookup for pager, in case someone has PAGER='less -foo' or some such (11186) --- ChangeLog | 5 +++++ Functions/Misc/nslookup | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73c92ce9b..0e80d7461 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-05 Sven Wischnowsky + + * 11186: Functions/Misc/nslookup: use `eval' in nslookup for + pager, in case someone has PAGER='less -foo' or some such + 2000-05-05 Oliver Kiddle * 11184: Completion/User/.distfiles, Completion/User/_bzip2, diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup index e03e55cd5..79d76dbe5 100644 --- a/Functions/Misc/nslookup +++ b/Functions/Misc/nslookup @@ -34,7 +34,7 @@ while line=''; vared -he "$pmpt[@]" line; do zpty -r nslookup line '* > ' if [[ -n "$pager" && ${#${(f)line}} -gt LINES ]]; then - print -nr "$line" | "$pager" + print -nr "$line" | eval "$pager" else print -nr "$line" fi -- cgit 1.4.1