On 4/4/2014 2:46 AM, Giulio Eulisse wrote:
>
> In Utilities/StaticAnalyzers/scripts/run_class_checker.sh:
>
> > @@ -21,4 +21,4 @@ fi
> >  mv ${CMSSW_BASE}/tmp/class-checker.txt.sorted ${CMSSW_BASE}/tmp/class-checker.txt.sorted.old
> >  rm ${CMSSW_BASE}/tmp/class-checker.txt.unsorted
> >  scram b -k -j $J checker 2>&1 | tee ${CMSSW_BASE}/tmp/classchecker.log
> > -sort -u ${CMSSW_BASE}/tmp/class-checker.txt.unsorted >${CMSSW_BASE}/tmp/class-checker.txt.sorted
> > +${CMSSW_BASE}/src/Utilities/StaticAnalyzers/scripts/sort-unique.py < ${CMSSW_BASE}/tmp/class-checker.txt.unsorted | grep -e"^data class">${CMSSW_BASE}/tmp/class-checker.txt.sorted
>
> Sorry, but what's wrong with |sort -u|?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/cms-sw/cmssw/pull/3199/files#r11285466>.
>
These are large files. Using sort -u takes forever. That is why I 
switched to simple python script.