Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Scanf question Message-ID: Date: 9 Oct 90 23:27:04 GMT References: <268@rufus.UUCP> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 6 Doctor! It hurts when I do this! Don't use scanf if you have the slightest doubt about its ability to solve the problem. For this one I'd use regexp or equivalents if I wanted to be lazy, or strchr() in a loop if I wanted to do it right. -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com