File: checkbits.sh

package info (click to toggle)
discount 2.2.7-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,004 kB
  • sloc: ansic: 5,707; pascal: 1,027; sh: 287; makefile: 208
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