File: checkbits.sh

package info (click to toggle)
libtext-markdown-discount-perl 0.18-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,524 kB
  • sloc: ansic: 5,765; pascal: 1,027; sh: 208; makefile: 196; perl: 184
file content (11 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

trap "rm -f in.markdown.h in.mkdio.h" EXIT

grep '#define MKD_' markdown.h | awk '$3 ~ /0x0/ {print $2,$3;}' > in.markdown.h
grep '#define MKD_' mkdio.h | awk '$3 ~ /0x0/ {print $2,$3;}' > in.mkdio.h

diff -bw in.markdown.h in.mkdio.h >/dev/null 2>&1
retcode=$?

exit $retcode