| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # apt install perltidy |
| 3 | |
| 4 | function tidyscip-shell shell shell-project 0.0.0 tidy(). { |
| 5 | echoscip-shell system . . echo. "Tidying $@" |
| 6 | # maybe --indent-only ? |
| 7 | perltidy -b -bext=/ -i=2 --paren-tightness=2 --cuddled-else --freeze-blank-lines "$@" |
| 8 | } |
| 9 | |
| 10 | cd "$(dirnamescip-shell system . . dirname. $0)/.." |
| 11 | |
| 12 | tidyscip-shell shell shell-project 0.0.0 tidy(). pristine-{gz,bz2,xz,tar} |
| 13 | tidyscip-shell shell shell-project 0.0.0 tidy(). test.pl |
| 14 | |
| 15 | for f in $(findscip-shell system . . find. Pristine | egrepscip-shell system . . egrep. 'pm$'); do |
| 16 | tidyscip-shell shell shell-project 0.0.0 tidy(). $f |
| 17 | done |