jnall%FSU.BITNET@cunyvm.cuny.edu (John Nall 904-644-5241) (02/19/89)
The Ver 1.4 stuff that ast posted apparently changed tolower() to _tolower() in ctype.h. I've had to go into a couple of programs and change the calls to reflect that when I recompiled them, as they were getting unsatisfied externals. Obviously this is no big problem, so I am more curious than anything else -- why was the change made? In particular, to make it more puzzling, the change seems to have been originally made by Terence (sp?) Holm, and the program that brought it to my attention was intcalc which he posted, and which uses tolower rather than _tolower! Strange.! John Nall BITNET: jnall@rai.fsu.edu ARPA-Internet: nall@nu.cs.fsu.edu Also (since I'll probably be flamed anyway, for asking a stupid question, ) why does find / -name termcap* -print not find /etc/termcap? (It will find /usr/junk/termcap.sh, so apparently the * keeps it from finding just plain old termcap).
tif@cpe.UUCP (02/21/89)
Written 5:07 pm Feb 18, 1989 by udel.UUCP!mmdf in cpe:comp.os.minix >) why does find / -name termcap* -print not find /etc/termcap? (It will >find /usr/junk/termcap.sh, so apparently the * keeps it from finding just >plain old termcap). Because you were in /usr/junk when you tried it. "termcap*" was expanded (by the shell) to "termcap.sh". Then it runs "find / -name termcap.sh -print". Strangely, in any other directory it would work. If you were in /etc it would expand to "find / -name termcap -print". If you were in / it would expand to "find / -name termcap* -print". The only guaranteed way to get what you want is to quote the * as in "find / -name termcap\* -print". Paul Chamberlain Computer Product Engineering, Tandy Corp. {killer | texbell}!cpe!tif
curci@stat.uucp (Ray Curci (scri)) (02/21/89)
Dr. Nall, Your find command should read: find / -name termcap\* -print instead of: find / -name termcap* -print The problem is that if you omit the quoting '\' before the '*', your command shell will expand the 'termcap*' into a list of matching filenames. Aparently your current directory was /usr/junk and that directory contained the file that find found. ray curci inet: curci@nu.cs.fsu.edu uucp: uunet!nu.cs.fsu.edu!curci