On Mon, 21 Jan 2013, MJang wrote:
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)
(find . -type f -name \*.jsp -exec basename {} \;) | sort
--
Paul Heinlein
[email protected]
45°38' N, 122°6' W_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug