[BACK]Return to gmdiff CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/gmdiff between version 1.1 and 1.2

version 1.1, 2013/06/22 08:54:13 version 1.2, 2014/04/07 18:26:10
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org>  # Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
 #  #
 # Permission to use, copy, modify, and distribute this software for any  # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above  # purpose with or without fee is hereby granted, provided that the above
Line 27  while [ -n "$1" ]; do
Line 27  while [ -n "$1" ]; do
   file=$1    file=$1
   shift    shift
   echo " ========== $file ========== "    echo " ========== $file ========== "
   tbl $file | groff -mandoc -Tascii -P -c 2>&1 > /tmp/groff.out    tbl $file | groff -mandoc -Tascii -P -c 2> /tmp/groff.err > /tmp/groff.out
   mandoc -Ios='OpenBSD ports' -Werror $file 2>&1 > /tmp/mandoc.out    mandoc -Ios='OpenBSD ports' -Werror $file 2> /tmp/mandoc.err > /tmp/mandoc.out
     for i in groff mandoc; do
       [[ -s /tmp/$i.err ]] && echo "$i errors:" && cat /tmp/$i.err
     done
   diff -au /tmp/groff.out /tmp/mandoc.out 2>&1    diff -au /tmp/groff.out /tmp/mandoc.out 2>&1
 done  done
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb