From owner-freebsd-current@FreeBSD.ORG Tue Mar 3 02:55:06 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A25F3B0; Tue, 3 Mar 2015 02:55:06 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78A1C103A; Tue, 3 Mar 2015 02:55:06 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id t232svIN081022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 2 Mar 2015 18:54:57 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id t232svZs081021; Mon, 2 Mar 2015 18:54:57 -0800 (PST) (envelope-from sgk) Date: Mon, 2 Mar 2015 18:54:57 -0800 From: Steve Kargl To: Alfred Perlstein Subject: Re: Massive libxo-zation that breaks everything Message-ID: <20150303025456.GA81001@troutmask.apl.washington.edu> References: <54F31510.7050607@hot.ee> <54F34B6E.2040809@astrodoggroup.com> <54F35F29.4000603@astrodoggroup.com> <54F429EF.5050400@freebsd.org> <54F46536.8040607@mu.org> <54F4C03F.7030704@freebsd.org> <54F4FECB.90501@freebsd.org> <197AA5DC-0591-4F71-BF10-51A5D8104C11@mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <197AA5DC-0591-4F71-BF10-51A5D8104C11@mu.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Harrison Grundy , "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 02:55:06 -0000 On Mon, Mar 02, 2015 at 05:30:31PM -0800, Alfred Perlstein wrote: > > Read the library. It doesn't care what output format it needs. > It is up to the translation layer to do it. You could even do > a csv format or most any other structured output format without > changing the userland utils. > Yeah, read the library code because the manpages are atrocious. There are 12 manpages apparently documenting xo_emit(). -- Steve Index: xo_attr.3 =================================================================== --- xo_attr.3 (revision 279526) +++ xo_attr.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_attr +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_create.3 =================================================================== --- xo_create.3 (revision 279526) +++ xo_create.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_create +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_finish.3 =================================================================== --- xo_finish.3 (revision 279526) +++ xo_finish.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_finish +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_flush.3 =================================================================== --- xo_flush.3 (revision 279526) +++ xo_flush.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_flush +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_open_container.3 =================================================================== --- xo_open_container.3 (revision 279526) +++ xo_open_container.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_open_container +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_open_list.3 =================================================================== --- xo_open_list.3 (revision 279526) +++ xo_open_list.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_open_list +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_allocator.3 =================================================================== --- xo_set_allocator.3 (revision 279526) +++ xo_set_allocator.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_allocator +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_flags.3 =================================================================== --- xo_set_flags.3 (revision 279526) +++ xo_set_flags.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_flags +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_info.3 =================================================================== --- xo_set_info.3 (revision 279526) +++ xo_set_info.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_info +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_style.3 =================================================================== --- xo_set_style.3 (revision 279526) +++ xo_set_style.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_style +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_writer.3 =================================================================== --- xo_set_writer.3 (revision 279526) +++ xo_set_writer.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_writer +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS