1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

zsh-workers/8210

This commit is contained in:
Tanaka Akira 1999-10-11 15:16:44 +00:00
parent 60bc079540
commit 2dc06f464c
2 changed files with 7 additions and 3 deletions

View file

@ -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