From owner-freebsd-doc@FreeBSD.ORG Sun Aug 31 04:40:19 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD76716A4C2 for ; Sun, 31 Aug 2003 04:40:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7331F44003 for ; Sun, 31 Aug 2003 04:40:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7VBeEUp039482 for ; Sun, 31 Aug 2003 04:40:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7VBeEN8039481; Sun, 31 Aug 2003 04:40:14 -0700 (PDT) Resent-Date: Sun, 31 Aug 2003 04:40:14 -0700 (PDT) Resent-Message-Id: <200308311140.h7VBeEN8039481@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Denis Peplin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2067516A4C0; Sun, 31 Aug 2003 04:29:51 -0700 (PDT) Received: from mail.sg.vsmi.ru (vsmi-gw.sprint-v.com.ru [81.22.1.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FFC844017; Sun, 31 Aug 2003 04:29:47 -0700 (PDT) (envelope-from den@freebsd-doc.org.ru) Received: by mail.sg.vsmi.ru (Postfix, from userid 426) id DEE5A1CDE6; Sun, 31 Aug 2003 15:29:43 +0400 (MSD) Received: from ts2-a34.Volgograd.dial.rol.ru (unknown [195.239.150.34]) by mail.sg.vsmi.ru (Postfix) with ESMTP id 34A311CDE3; Sun, 31 Aug 2003 15:29:37 +0400 (MSD) Message-Id: <200308311532.43127.den@freebsd-doc.org.ru> Date: Sun, 31 Aug 2003 15:32:43 +0000 From: Denis Peplin To: FreeBSD-gnats-submit@FreeBSD.org cc: blackend@FreeBSD.org Subject: docs/56231: [PATCH] correct few tags in doc/en_US.ISO8859-1 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 11:40:19 -0000 >Number: 56231 >Category: docs >Synopsis: [PATCH] correct few tags in doc/en_US.ISO8859-1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 31 04:40:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Denis Peplin >Release: FreeBSD 5.1-RELEASE i386 >Organization: Non-official FreeBSD Russian Documentation Priject >Environment: System: FreeBSD name.local 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Sat Aug 2 10:45:08 GMT 2003 root@name.local:/usr/obj/usr/src/sys/HOME i386 >Description: >How-To-Repeat: this is a bit buggy/dirty script produce diags that can help to find not closed tags. #!/usr/local/bin/perl use File::Find; $path = "/4/usr/home/den/temp/doc/en_US.ISO8859-1/"; $show_linelook = 1; # can be helpful when other methds fails $linelook_all = 1; # show line even if tag is not alone $tagignore = "xref anchor graphic imagedata colspec spanspec structfield"; $tagignore.= "co inlinegraphic URL EOM "; # from $tagignore.= "hr br b h2 p td font"; # html tags find(\&wanted, $path); sub wanted { if (-f && /^.*\.sgml$/ ) { print "$File::Find::name\n"; #check_para($_); check_pairs($_); } } sub check_pairs { my($file) = @_; open(DOC_SGML, $file) or die "Can't open file: $!\n"; $line=0; undef %count; undef %warnlines; undef %lastline; undef %linelook; undef %lineprev; undef %warnsame; while (defined ($_ = )) { $line++; next if /^[ \t]*$/; # can skip only whole line comment next if /^[ \t]*/; next if ! /$/; next if /^]*>$/; while (/<([A-Za-z][a-zA-Z0-9]+)( [^<]*|[^<@]*)(>|$)/g) { next if $tagignore =~ $1; $tagname=$1; $count{$1}++; $lastline{$1} = $line; if ($count{$1} > 2) { $warnlines{$1}=$warnlines{$1}."$line<$count{$1}> "; } if ($linelook_all || /^[ \t]*<$tagname>$/) { $countprev = $count{$tagname} - 1; $linepad = sprintf("%04d", $line); if ($lineprev{$tagname} eq $_) { $warnsame{$tagname} .= "$linepad "; } $lineprev{$tagname} = $_; $linelook{$tagname} .= "$linepad:$countprev:$_"; } } while (/<\/([A-Za-zA-Z0-9]+)>/g) { next if $tagignore =~ $1; $tagname=$1; $count{$1}--; if ($count{$1}) { $warnlines{$1}=$warnlines{$1}."$line>$count{$1}< "; } if ($linelook_all || /^[ \t]*<\/$tagname>$/) { $linepad = sprintf("%04d", $line); if ($lineprev{$tagname} eq $_) { $warnsame{$tagname} .= "$linepad "; } $lineprev{$tagname} = $_; $linelook{$tagname} .= "$linepad:$count{$tagname}:$_"; } } } close(DOC_SGML); print "\n"; $error = 0; while (($key, $val) = each %count) { if ($val != 0) { $error = 1; print $linelook{$key} if $show_linelook; print "$key=$val\nlast: $lastline{$key}\n"; print "Warn:\n$warnlines{$key}\n"; print "Same lines detected at:\n$warnsame{$key}\n"; print "------------------------------------------"; print "\n"; } } if ($error) { exit; } } >Fix: diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/articles/releng-packages/article.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/articles/releng-packages/article.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/articles/releng-packages/article.sgml Sun Sep 8 01:01:42 2002 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/articles/releng-packages/article.sgml Sun Aug 31 14:40:44 2003 @@ -238,7 +238,7 @@ Grab a copy of ports.tar.gz and extract it into the ports directory alongside doit.sh and the - scripts directory. + scripts directory. Remove the packages/distfiles directories or symlinks. Bento has these as symlinks and you will have mixed @@ -299,7 +299,7 @@ After going through this the first time if you are lucky enough that all of the required packages built and fit on each disc. All you need to do is set fake to 0 in - oneshot.pl and re-run + oneshot.pl and re-run ./doit.sh. The second and subsequent times around it will skip steps 1-5 above. If you want to re-run any of those steps refer to doit.sh for which files diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/arch-handbook/mac/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/arch-handbook/mac/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/arch-handbook/mac/chapter.sgml Sun Aug 31 15:06:13 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/arch-handbook/mac/chapter.sgml Sun Aug 31 14:46:30 2003 @@ -3236,7 +3236,7 @@ struct ifnet *ifnet struct label - *ifnetlabel + *ifnetlabel diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.sgml Sun Jul 20 20:55:18 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -1897,7 +1897,7 @@ /dev/ttyd0 and /dev/cuaa0. By contrast, the networking devices, such as - ed0 do not appear in /dev. + ed0 do not appear in /dev. In MS-DOS, the first floppy drive is referred to as a:. In FreeBSD it is diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml Sat Aug 23 23:26:43 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -698,6 +698,7 @@ &prompt.root; atacontrol attach 3 Master: ad6 <MAXTOR 6L080J4/A93.0500> ATA/ATAPI rev 5 Slave: no device present + Rebuild the array: @@ -2456,6 +2457,7 @@ For more details, please refer to &man.md.4; manual page. + Memory-Based File System under FreeBSD 5.X @@ -3191,6 +3193,7 @@ it is recommended that such scripts be run manually while providing the password via the console or &man.ssh.1;. + Cryptographic Protections Employed by gbde diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml Sun Aug 31 15:06:28 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -2793,6 +2793,7 @@ Name Value + ztta/dynpro_area @@ -2811,6 +2812,7 @@ Name Value + rdisp/ROLL_MAXFS diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/mail/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/mail/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/mail/chapter.sgml Sat Aug 2 12:31:57 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/mail/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -604,6 +604,7 @@ sendmail's startup options is available from the &man.rc.sendmail.8; manual page. + Running Your New MTA on Boot diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml Tue Aug 26 07:19:28 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -4526,6 +4526,7 @@ The line of development for FreeBSD-2.2.X, also known as 2.2-STABLE. This branch is mostly obsolete. + diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml Sun Aug 31 15:06:28 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -1092,6 +1092,7 @@ design. However, once you get used to the command line options and the key-stroke controls, it works very well. + Building MPlayer diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml Tue Aug 26 07:19:28 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -3182,6 +3182,7 @@ role="ipaddr">W.X.Y.Z it will need to unencapsulated, and delivered to 192.168.2.1. + You can think of this as requiring a tunnel diff --exclude=CVS -u -r /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/vinum/chapter.sgml /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/vinum/chapter.sgml --- /4/usr/home/den/temp/old/doc/en_US.ISO8859-1/books/handbook/vinum/chapter.sgml Sun Jul 13 20:36:54 2003 +++ /4/usr/home/den/temp/doc/en_US.ISO8859-1/books/handbook/vinum/chapter.sgml Sun Aug 31 14:41:01 2003 @@ -1110,6 +1110,7 @@ The root volume must not contain more than one concatenated subdisk per plex. + Note that it is desirable and possible that there are >Release-Note: >Audit-Trail: >Unformatted: