Path: utzoo!utgpu!watmath!att!dptg!rutgers!iuvax!mailrus!shadooby!oxtrap!mudos!mju From: mju@mudos.ann-arbor.mi.us (Marc Unangst) Newsgroups: comp.sys.ibm.pc Subject: lint and/or cb for DOS? Message-ID: <612.24FC7A18@mudos.ann-arbor.mi.us> Date: 30 Aug 89 21:48:33 GMT Organization: FidoNet node 1:120/129 - Starship Enterprise, Ann Arbor MI Lines: 53 I'm looking for a *good* version of cb(1) for MS-DOS. I have tried the C Users' Group one, but it isn't flexible enough for my tastes: It just prints the code out the way *it* wants to, rather than the way *I* prefer to. Here is a sample of my coding style, if it helps any: /* * hello.c: Prints "hello, world! (I'm #1!)" and exits. */ #include #include void main(void); void main() { char *first, *second; int i; first = "hello"; second = "world"; i = 1; if(strcmp(first,"hello") == 0) { printf("%s, %s! (I'm #%d!)\n", first, second, i); exit(0); } else { printf("We got troubles, Boss!\n"); exit(1); } } I'd like something that will come as close to the above as possible. Configurability is a plus (something like the cb(1) in SysV.3 would be fine) I'm also looking for a *good* version of lint(1) for MS-DOS. I haven't actually seen *any* copies of this floating around, so I'll probably take what I can get... Source code is a plus, especially if it's in C. I'd like this to be PD, freeware, or shareware if possible (I don't want to go running to MKS if at all possible: I'm sure their products are good, but they're also expensive). Thanks... -- Marc Unangst UUCP smart : mju@mudos.ann-arbor.mi.us UUCP dumb : ...!uunet!sharkey!mudos!mju UUCP dumb alt.: ...!{ames,rutgers}!mailrus!clip!mudos!mju Internet : mju@mudos.ann-arbor.mi.us