Debian Codegraph @

tools/clean

raw symbols SCIP
1 #! /bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 RESET="\033[0m"
4 RED="\033[0;31m"
5 BROWN="\033[0;33m"
6 PURPLE="\033[0;35m"
7
8 echoscip-shell system . . echo. "remove vim backup files"
9 findscip-shell system . . find. . -name "*~" -o -name "*.orig" | xargsscip-shell system . . xargs. rm 2>/dev/nullscip-shell filesystem . . `/dev/null`.
10
11 echoscip-shell system . . echo. -e "clean trailing spaces : \n"
12 for f in $(ack --flush -l ' $' src)
13 do
14 echoscip-shell system . . echo. -e "$BROWN$f$RESET"
15 ack ' $' $f
16 echoscip-shell system . . echo. -ne "\n$PURPLE* $BROWN$1 ${RED}let sed fix it? $RESET[yN] "
17 read RET
18 if [scip-shell system . . `[`. "$RET" = "Y" -o "$RET" = "y" ]; then
19 sedscip-shell system . . sed. -i 's/ *$//' $f && echoscip-shell system . . echo. " done"
20 fi
21 echoscip-shell system . . echo.
22 done