diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-11 15:16:44 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-11 15:16:44 +0000 |
commit | 2dc06f464c255c5d7a5ccb004a07caeda13963ab (patch) | |
tree | de5919fb30cd6a065d992f95761483a098033212 /Functions/Misc/nslookup | |
parent | 60bc079540823fcdcea3b80696f4388c1c0f341d (diff) | |
download | zsh-2dc06f464c255c5d7a5ccb004a07caeda13963ab.tar.gz zsh-2dc06f464c255c5d7a5ccb004a07caeda13963ab.tar.xz zsh-2dc06f464c255c5d7a5ccb004a07caeda13963ab.zip |
zsh-workers/8210
Diffstat (limited to 'Functions/Misc/nslookup')
-rw-r--r-- | Functions/Misc/nslookup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup index 15afb2ff1..d59a5e66c 100644 --- a/Functions/Misc/nslookup +++ b/Functions/Misc/nslookup @@ -10,7 +10,7 @@ trap 'print -p exit;return' INT coproc command nslookup pid=$! -while read -pk1 char; do +while read -pk 1 char; do line="$line$char" [[ "$line" = *' > ' ]] && break @@ -21,7 +21,7 @@ line='' while vared -p '> ' line; do print -p "$line" line='' - while read -pk1 char; do + while read -pk 1 char; do line="$line$char" [[ "$line" = *' > ' ]] && break |