File: remove_eol_spaces.sh

package info (click to toggle)
finalcut 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,832 kB
  • sloc: cpp: 90,264; makefile: 546; sh: 412
file content (17 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

find ../final/ \
     ../final/util/ \
     ../final/menu/ \
     ../final/widget/ \
     ../final/dialog/ \
     ../final/input/ \
     ../final/vterm/ \
     ../final/output/ \
     ../final/output/tty/ \
     ../examples/ \
     ../test/ \
     -regextype posix-egrep \
     -regex ".*\\.(cpp|h)$" \
     -exec sed -i 's/ *$//' "{}" \;