exodus@uop.UUCP (Greg Onufer) (04/23/87)
Anybody have a find utility for the ST's? I'd appreciate a program and more so the source code. And does anybody have a 'ls' program that acts more like the UNIX command? The 'ls' supplied with the Mark Williams C compiler doesn't recognize directories unless you use the -l option. (well, it displays them but no '/' after the name. Sort of thinks they are just a file.) Thanx in advance. -- -------------------------------------------------------------------------------- | The secret to flying is jumping and missing the ground... | | -Hitchhiker's Guide to the Galaxy | |..............................................................................| | Greg Onufer (EXODUS) | | Mail: University of the Pacific, Casa Jackson #311, Stockton, CA 95211 | | UUCP: ...ucdavis!uop!exodus GEnie: G.ONUFER | Voice: (209) 944-7484 | --------------------------------------------------------------------------------
john@viper.UUCP (John Stanley) (04/26/87)
Well Greg it's like this.... There isn't any find-oid utility that I know of if you're needing all the bells and whatnots... If, on the other hand, you are just looking for something that can help you find a file located -someplace- on your drive, there's two alternatives. WHEREIS (Author unknown...) A utility that will search all folders on a single drive for the files that match a single filespec (wildcards allowed). This is a good start and has the advantage that it works on a floppy as well as hard-disks. YAWP (Author: Todd Burkey - trb@stag.UUCP) Yet-Another-Whereis-Program is something Todd whipped up to allow easy searching on a hard disk. It totaly bypasses GEMDOS and searches all drives of a hard disk for any filename or folder containing a given string. Advantages are that you can find GEMBOOT.PRG and HDGEM.TXT on any hard drive by typing: yawp gem It also doesn't use fsfirst/fsnext so there is no 40-folder limit to worry about when using yawp. It also is -very- fast. Averages 3-5 sec per 10 megabytes searched... Whereis takes 5-10 times longer and only works on one drive at a time... You can probably ask around and find a copy of whereis from a local BBS or users group. I'd like to see Todd post YAWP to the net, but since I'm sure he'll see this msg, I'll leave that chore to him if he's willing. --- John Stanley (john@viper.UUCP) Software Consultant - DynaSoft Systems UUCP: ...{amdahl,ihnp4,rutgers}!{meccts,dayton}!viper!john