made cat --ex 1.8 compatible, cleaned up some code
made cat --ex 1.8 compatible, cleaned up some code

nju520/pry,scalixte-mdsol/pry,josue804/debunker,ooohiroyukiooo/pry,jasnow/pry,shockone/pry,caporta/pry,gfvcastro/pry,shockone/pry,icebreaker/pry,nju520/pry,tdg5/pry,bronzdoc/pry,sferik/pry,nju520/pry,tdg5/pry,jasnow/pry,caporta/pry,85x14/pry,ngpestelos/pry,scalixte-mdsol/pry,sideci-sample/sideci-sample-pry,ooohiroyukiooo/pry,85x14/pry,jasnow/pry,85x14/pry,josue804/debunker,deivid-rodriguez/pry,jasonm23/pry,bronzdoc/pry,shockone/pry,printercu/pry,ngpestelos/pry,icebreaker/pry,printercu/pry,raeno/pry,jasonm23/pry,raeno/pry,gfvcastro/pry,geoffreylitt/pry,richo/pry,pvdb/pry,tdg5/pry,pvdb/pry,ooohiroyukiooo/pry,caporta/pry,jasonm23/pry,sferik/pry,raeno/pry,scalixte-mdsol/pry,geoffreylitt/pry