* PATCH: RE: nslookup (function) problem
@ 2000-05-05 11:08 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-05-05 11:08 UTC (permalink / raw)
To: zsh-workers
Andrej Borsenkow wrote:
> > + if [[ -n "$pager" && ${#${(f)line}} -gt LINES ]]; then
> > + print -nr "$line" | "$pager"
>
> :-)))
>
> bor@itsrm2% export PAGER='less -c'
> bor@itsrm2% nslookup
> Default Server: mowd017a.mow.siemens.ru
> Address: 139.24.18.1
>
> > ?
> nslookup:37: command not found: less -c
> >
Ok, ok... ;-)
Bye
Sven
Index: Functions/Misc/nslookup
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/nslookup,v
retrieving revision 1.2
diff -u -r1.2 nslookup
--- Functions/Misc/nslookup 2000/05/05 08:52:41 1.2
+++ Functions/Misc/nslookup 2000/05/05 11:07:54
@@ -34,7 +34,7 @@
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
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-05 11:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-05 11:08 PATCH: RE: nslookup (function) problem Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).