From mharo@bitsurf.net  Sat Nov 28 05:13:48 2009
Return-Path: <mharo@bitsurf.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B19E21065696
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Nov 2009 05:13:48 +0000 (UTC)
	(envelope-from mharo@bitsurf.net)
Received: from coffee.bitsurf.net (coffee6.bitsurf.net [IPv6:2001:470:1f05:1f9::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 913CA8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Nov 2009 05:13:48 +0000 (UTC)
Received: from coffee.bitsurf.net (localhost [127.0.0.1])
	by coffee.bitsurf.net (8.14.3/8.14.3) with ESMTP id nAS5DmfZ042541
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Nov 2009 21:13:48 -0800 (PST)
	(envelope-from mharo@coffee.bitsurf.net)
Received: (from mharo@localhost)
	by coffee.bitsurf.net (8.14.3/8.14.3/Submit) id nAS5DlfZ042540;
	Fri, 27 Nov 2009 21:13:47 -0800 (PST)
	(envelope-from mharo)
Message-Id: <200911280513.nAS5DlfZ042540@coffee.bitsurf.net>
Date: Fri, 27 Nov 2009 21:13:47 -0800 (PST)
From: Michael Haro <mharo@freebsd.org>
Reply-To: Michael Haro <mharo@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ldd man page example bug
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         140962
>Category:       docs
>Synopsis:       ldd(1) man page example bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 28 05:20:01 UTC 2009
>Closed-Date:    Mon Jun 06 21:08:44 UTC 2011
>Last-Modified:  Mon Jun  6 21:10:08 UTC 2011
>Originator:     Michael Haro
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD coffee.bitsurf.net 8.0-STABLE FreeBSD 8.0-STABLE #1: Thu Nov 26 21:53:31 PST 2009 root@coffee.bitsurf.net:/usr/obj/usr/src/sys/KERNEL amd64


>Description:

	man ldd says:
           find . -type f | xargs -n1 file -F   | grep ELF | cut -f1 -d' ' |
           xargs ldd -f '%A %o\n' | grep libc.so.6

>How-To-Repeat:
	man ldd
>Fix:
	   find . -type f | xargs -n1 file -F  ' ' | grep ELF | cut -f1 -d' ' |
	(add the single quotes after -F)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: danger 
State-Changed-When: Sat Nov 28 11:05:46 UTC 2009 
State-Changed-Why:  
- fixed in head, awaiting MFC 
- thanks for submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140962 
Responsible-Changed-From-To: freebsd-doc->danger 
Responsible-Changed-By: danger 
Responsible-Changed-When: Sat Nov 28 11:06:48 UTC 2009 
Responsible-Changed-Why:  
- assign to me 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140962: commit references a PR
Date: Sat, 28 Nov 2009 11:05:32 +0000 (UTC)

 Author: danger (doc committer)
 Date: Sat Nov 28 11:05:22 2009
 New Revision: 199871
 URL: http://svn.freebsd.org/changeset/base/199871
 
 Log:
   - correctly render the provided example
   
   PR:		docs/140962
   Submitted by:	mharo
 
 Modified:
   head/usr.bin/ldd/ldd.1
 
 Modified: head/usr.bin/ldd/ldd.1
 ==============================================================================
 --- head/usr.bin/ldd/ldd.1	Sat Nov 28 00:50:09 2009	(r199870)
 +++ head/usr.bin/ldd/ldd.1	Sat Nov 28 11:05:22 2009	(r199871)
 @@ -63,7 +63,7 @@ The following is an example of a shell p
  option.
  It will print a report of all ELF binaries in the current directory,
  which link against libc.so.6:
 -.Dl "find . -type f | xargs -n1 file -F " " | grep ELF | cut -f1 -d' ' | xargs ldd -f '%A %o\en' | grep libc.so.6"
 +.Dl "find . -type f | xargs -n1 file -F ' ' | grep ELF | cut -f1 -d' ' | xargs ldd -f '%A %o\en' | grep libc.so.6"
  .Sh SEE ALSO
  .Xr ld 1 ,
  .Xr nm 1 ,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gjb 
State-Changed-When: Mon Jun 6 21:08:27 UTC 2011 
State-Changed-Why:  
MFCd to stable/8. 


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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140962: commit references a PR
Date: Mon,  6 Jun 2011 21:07:54 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Mon Jun  6 21:07:44 2011
 New Revision: 222780
 URL: http://svn.freebsd.org/changeset/base/222780
 
 Log:
   MFC 199871 [1]:
   
   - correctly render the provided example
   
   PR:		140962
   Obtained from:	danger [1]
 
 Modified:
   stable/8/usr.bin/ldd/ldd.1
 Directory Properties:
   stable/8/usr.bin/ldd/   (props changed)
 
 Modified: stable/8/usr.bin/ldd/ldd.1
 ==============================================================================
 --- stable/8/usr.bin/ldd/ldd.1	Mon Jun  6 21:03:19 2011	(r222779)
 +++ stable/8/usr.bin/ldd/ldd.1	Mon Jun  6 21:07:44 2011	(r222780)
 @@ -63,7 +63,7 @@ The following is an example of a shell p
  option.
  It will print a report of all ELF binaries in the current directory,
  which link against libc.so.6:
 -.Dl "find . -type f | xargs -n1 file -F " " | grep ELF | cut -f1 -d' ' | xargs ldd -f '%A %o\en' | grep libc.so.6"
 +.Dl "find . -type f | xargs -n1 file -F ' ' | grep ELF | cut -f1 -d' ' | xargs ldd -f '%A %o\en' | grep libc.so.6"
  .Sh SEE ALSO
  .Xr ld 1 ,
  .Xr nm 1 ,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
