simpsong@ncoast.UUCP (Gregory R. Simpson @ The North Coast) (12/02/85)
*** Happy Thanksgiving Line-eater *** In the source distribution for the public domain "csh" for the pc, there is a program "ls.c" It was written for the Aztec C compilier. Being a microsoft man, I made the following changes, 1) I made sysint into "spawnv", 2) I made rindex into index and tacked on a simple index routine. which returns the location position of a string within a string. (apparently aztec includes both index, and rindex, I didn't know the difference...) I compiled it useing cl -DMAIN ls.c, and presto ls.exe, the problem is that the first 2 characters are lost. Thus the directory listing of a directory containing "Games" shows only "mes" Has anyone else made this work properly under the Microsoft C compiler? I am really sick of the MS-DOS dir command. (especially all of those capital letters :-) ) Please mail to me and I will summarize, or post if you think it is of general interest. Greg Simpson decvax!cwruecmp!ncoast!simpsong or simpsong@case.CSNET