bowman@reed.UUCP (Eric Bowman) (02/18/90)
A couple days ago I posted a script for listing all the c functions in all c source files in a directory. Someone e-mailed me the suggestion of modifying it to also Mark each function, but I can't figure out exactly how to do it. I don't want a dialog for each mark; I want somehow to pipe the output of Find into Mark. Selecting Mark from the menu accepts at least part of the current selection as the default Mark name; does anyone know how to accomplish this in a script? Thanks, ============================================================================== | The Insidious Uncle BoBo | ------------------------------------------------------------------------------ | "As I see it, my friends can access my private | | members in a public class..." | ============================================================================== | Eric Bowman -> | | ShitNet: bowman@reed.bitnet | | FarFromFreeNet: (503)234-7158 (Like I'll Really Answer) | | Disclaimer: "If my employer ever found out my opinions, well..." | /=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=
dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) (02/19/90)
bowman@reed.UUCP (Eric Bowman) writes: > talks about listing c functions and a segguestion to add marking facilites You could take a look at how procnames MPW tool does it. It simply outputs the mark commands to the worksheet and then lets the user execute them. I prefer this approach because it allows me to weed out 'marks' that I don't want to be marked in my code. -- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|///////////////////////////////////////// David M. O'Rourke____________________|_____________dorourke@polyslo.calpoly.edu | Graduating in March of 1990, with a BS in Computer Science | |_That should make several people at Poly happy.______________________________|