From sameh@buff.admin.clubint.net  Thu Mar  8 18:35:03 2007
Return-Path: <sameh@buff.admin.clubint.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 731AD16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Mar 2007 18:35:03 +0000 (UTC)
	(envelope-from sameh@buff.admin.clubint.net)
Received: from t-online.fr (interne-00-46.anon.t-online.fr [213.44.120.46])
	by mx1.freebsd.org (Postfix) with ESMTP id 358EB13C442
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Mar 2007 18:35:03 +0000 (UTC)
	(envelope-from sameh@buff.admin.clubint.net)
Received: from t-online.fr (localhost [127.0.0.1])
	by localhost.in.t-online.fr (Postfix) with ESMTP id 203A2493F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Mar 2007 19:15:17 +0100 (CET)
Received: from buff.admin.clubint.net (buff.admin.clubint.net [194.117.201.45])
	by t-online.fr (Postfix) with ESMTP id AEF914939
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Mar 2007 19:15:16 +0100 (CET)
Received: from buff.admin.clubint.net (localhost [127.0.0.1])
	by buff.admin.clubint.net (8.13.8/8.13.8) with ESMTP id l28IEIbv039130
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 8 Mar 2007 19:14:18 +0100 (CET)
	(envelope-from sameh@buff.admin.clubint.net)
Received: (from sameh@localhost)
	by buff.admin.clubint.net (8.13.8/8.13.8/Submit) id l28IEEwI039129;
	Thu, 8 Mar 2007 19:14:14 +0100 (CET)
	(envelope-from sameh)
Message-Id: <200703081814.l28IEEwI039129@buff.admin.clubint.net>
Date: Thu, 8 Mar 2007 19:14:14 +0100 (CET)
From: Sameh Ghane <sameh+freebsd@anthologeek.net>
Reply-To: Sameh Ghane <sameh+freebsd@anthologeek.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ng_fec man page contains a non working example
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110097
>Category:       docs
>Synopsis:       [patch] ng_fec man page contains a non working example
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 08 18:40:05 GMT 2007
>Closed-Date:    Sat Mar 24 01:39:47 GMT 2007
>Last-Modified:  Sat Mar 24 01:40:05 GMT 2007
>Originator:     Sameh Ghane
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
None
>Environment:
System: FreeBSD buff.admin.clubint.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Oct 2 14:36:42 CEST 2006 root@buff.admin.clubint.net:/usr/obj/usr/src/sys/BUFF i386

	Any environment including ng_fec man page.
>Description:
	The example script included in ng_fec(4) man page is not correct
>How-To-Repeat:
	man ng_fec
>Fix:

--- ng_fec.4.old        Thu Mar  8 18:10:27 2007
+++ ng_fec.4    Thu Mar  8 18:10:38 2007
@@ -83,7 +83,7 @@
 node, attaches four Ethernet interfaces to it and
 sets the forwarding method to be IP-address based:
 .Bd -literal -offset indent
-/usr/sbin/ngctl -f- <<-SEQ
+/usr/sbin/ngctl -f- << SEQ
        mkpeer fec dummy fec
        msg fec0: add_iface "dc0"
        msg fec0: add_iface "dc1"
>Release-Note:
>Audit-Trail:

From: Sameh Ghane <sameh@anthologeek.net>
To: bug-followup@FreeBSD.org, sameh+freebsd@anthologeek.net
Cc:  
Subject: Re: docs/110097: ng_fec man page contains a non working example
Date: Thu, 8 Mar 2007 20:50:27 +0100

 Oops, actually I ran into this problem because tcsh does not support the '<<-'
 operator. Man page might need some rewrite though.
 
 Sorry.
 
 Cheers,
 
 -- 
 Sameh Ghane
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Sat Mar 24 01:27:51 UTC 2007 
State-Changed-Why:  
Committed.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110097 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/110097: commit references a PR
Date: Sat, 24 Mar 2007 01:39:31 +0000 (UTC)

 maxim       2007-03-24 01:39:24 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4       ng_fec.4 
   Log:
   o While the script is correct and works well in sh(1) make it
   works in tcsh(1) which does not support <<- redirection.
   
   PR:             docs/110097
   Submitted by:   Sameh Ghane
   
   Revision  Changes    Path
   1.5       +1 -1      src/share/man/man4/ng_fec.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
