changeset 85 | fd3f8581ce85 |
parent 78 | 85f2f75abeeb |
child 89 | fac25de665d2 |
--- a/README Sat Dec 03 13:49:11 2016 +0000 +++ b/README Thu Dec 08 12:50:54 2016 +0000 @@ -2,3 +2,8 @@ emacs --eval "(ediff-files \"k1502472/drumb.scala\" \"k1502752/drumb.scala\")" + + +deleting comments from scala files + +find . -name '*.scala' -print0 | xargs -0 perl -n -p -0 -i.bak -e 's%/\*([^*].*?)?\*/%%gs;s%^([^\"\n\r]*(\"[^\"\n\r]*\"[^\"\n\r]*?)*?)//([^*\n\r].*)?$%$1%gm' \ No newline at end of file