File: checkbits.sh

package info (click to toggle)
discount 2.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 728 kB
  • sloc: ansic: 4,582; pascal: 855; sh: 196; makefile: 120
file content (11 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (15)
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 -c -bw in.markdown.h in.mkdio.h
retcode=$?

exit $retcode