I need to redo my style sheets for 150 jsp files
I want to find all the unique classes among my jsp files.
find . -name "*.jsp" -print | xargs grep "class=" | wc -l
produces 4000+ results
My guess is that there are only about 200 unique terms in the quotes after class="className".
For example if this was my results, there are only 3 unique classes.
How do I build a unix command to only show me the unique class="className" where className is unique?