bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Infinite loop generating terminfo.5 with bash 2.05


From: Samuel Mikes
Subject: Infinite loop generating terminfo.5 with bash 2.05
Date: Wed, 29 Aug 2001 14:31:19 -0600 (MDT)

Hi there,

  I got an infinite loop while running MKterminfo.sh; read kept
returning '.ad'.  Below is the change I made to work around it.  My
system is:

GNU bash, version 2.05.0(1)-release (i486-pc-linux-gnulibc1)
Linux kernel 2.0.36 (Slackware dist)

--- man/MKterminfo.sh~  Wed Aug 29 14:22:13 2001
+++ man/MKterminfo.sh   Wed Aug 29 14:21:08 2001
@@ -78,9 +78,8 @@
 rm -f $sorted
 rm -f $temp
 saved=no
-while true
+while read data
 do
-       read data
        test -z "$data" && break
        case "$data" in #(vi
        **) #(vi

Cheers,
-- 
Sam Mikes
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]