File: clean-diff

package info (click to toggle)
ffmpeg 7%3A8.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 111,180 kB
  • sloc: ansic: 1,348,518; asm: 145,582; sh: 9,273; makefile: 5,323; cpp: 3,451; lisp: 1,771; perl: 1,303; objc: 1,058; python: 120; awk: 56; ruby: 51
file content (11 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download | duplicates (30)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
sed '/^+[^+]/!s/	/TaBBaT/g' |\
 expand -t $(seq -s , 9 8 200) |\
 sed 's/TaBBaT/	/g' |\
 sed '/^+[^+]/s/ * $//' |\
 tr -d '\015' |\
 tr '\n' '' |\
 sed 's/\(@@[^@]*@@[^@]*\)/\n\1/g' |\
 egrep -v '@@[^@]*@@(( [^]*)|([+-][[:space:]]*)|(-[[:space:]]*([^]*)\+[[:space:]]*\5))*$' |\
 tr -d '\n' |\
 tr '' '\n'