Diff for /embedaddon/sudo/doc/fixmdoc.sh between versions 1.1 and 1.1.1.2

version 1.1, 2012/10/09 09:29:52 version 1.1.1.2, 2013/07/22 10:46:11
Line 1 Line 1
 #!/bin/sh  #!/bin/sh
   #
   # Copyright (c) 2012-2013 Todd C. Miller <Todd.Miller@courtesan.com>
   #
   # Permission to use, copy, modify, and distribute this software for any
   # purpose with or without fee is hereby granted, provided that the above
   # copyright notice and this permission notice appear in all copies.
   #
   # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
   # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
   # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
   # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
   # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
   # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
   # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   #
   
 OUTFILE="$1"  OUTFILE="$1"
 rm -f "$OUTFILE"  rm -f "$OUTFILE"
Line 47  case "$OUTFILE" in Line 62  case "$OUTFILE" in
         if [ X"$SEMAN" != X"1" ]; then          if [ X"$SEMAN" != X"1" ]; then
                 SE_FLAG='/^.*\n\.Op Fl r Ar role/{;N;/^.*\n\.Ek$/d;};/^.*\n\.Op Fl t Ar type/{;N;/^.*\n\.Ek$/d;};'                  SE_FLAG='/^.*\n\.Op Fl r Ar role/{;N;/^.*\n\.Ek$/d;};/^.*\n\.Op Fl t Ar type/{;N;/^.*\n\.Ek$/d;};'
                 cat >>"$OUTFILE" <<-'EOF'                  cat >>"$OUTFILE" <<-'EOF'
                        /^\.It Fl r Ar role/,/newline character\.$/ {                        /^\.It Fl r Ar role/,/^\.Ar role \.$/ {
                                 d                                  d
                         }                          }
                         /^\.It Fl t Ar type/,/specified role\.$/ {                          /^\.It Fl t Ar type/,/specified role\.$/ {

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>