Folks, I'd appreciate a bit of help with a text search / sort.
I've searched through a repo with a bunch of .java files, listing text associated with *.jsp files. As these are URLs, there's often text before and after the *.jsp. My objective is to set up a file with just the *.jsp filenames -- all the stuff at least before the file name should be deleted on each line. (I can then sort and compare with a different list of *.jsp filenames) Examples in my target list: "/path/to/file/abc.jsp"; some java declarative VARIABLE = "something.jsp"; * other/path/whatever.jsp = "/path/to/file/other.jsp"; "/messy/path/abTestRest.jsp?metasomething=" + Ideally, from whatever I run, I'd get the following output: abc.jsp something.jsp whatever.jsp other.jsp abTestRest.jsp Help will be appreciated. (The comparison will tell me, for documentation purposes, which .jsp files are less important for the app in question, and can be removed. I'd rather not go into detail on the actual app.) Thanks, Mike _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
