I need a list of all file types of text files in CVS (such as .cpp,.h etc. )
can it be done?
I need a list of all file types of text files in CVS (such as .cpp,.h etc. )
can it be done?
I know it's quick and dirty but you can play with regular expressions, grepping, redirecting to a file, sorting...(blah blah blah):
cvs ls -R [path to repo] | grep "\.[A-Za-z0-9]*$" | sed 's/.*\(\.[A-Za-z0-9]*\)$/\1/' > fileExtensions && sort fileExtensions | uniq
Explanation: