File: patchman.sh

package info (click to toggle)
dcmtk 3.6.9-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 95,648 kB
  • sloc: ansic: 426,874; cpp: 318,177; makefile: 6,401; sh: 4,341; yacc: 1,026; xml: 482; lex: 321; perl: 277
file content (11 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Fix some Doxygen issues (still present in version 1.3.5):
# 1) remove ".ad l" statement at the beginning of each manpage
#    file to enable justified text

for file in manpages/man1/*.1 ; do
  echo Patching file $file...
  sed "/^.ad l/d" $file > manpage.tmp
  mv manpage.tmp $file
done