From sch@rosseau.sfbay.sun.com Mon Jan 22 12:10:04 2007
Received: from sunmail4.Singapore.Sun.COM (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id l0MKA3Lf026984
	for <psarc-ext@sac.sfbay.Sun.COM>; Mon, 22 Jan 2007 12:10:04 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.Singapore.Sun.COM (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id l0MK9opX004093
	for <@sunmail1brm.central.sun.com:PSARC-EXT@sun.com>; Tue, 23 Jan 2007 04:10:02 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JCA00L0LDCPB200@brm-avmta-1.central.sun.com> for PSARC-EXT@sun.com
 (ORCPT PSARC-EXT@sun.com); Mon, 22 Jan 2007 13:10:01 -0700 (MST)
Received: from sfbaymail2sca.sfbay.sun.com ([129.145.155.42])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JCA00DIWDCN85E0@brm-avmta-1.central.sun.com> for
 PSARC-EXT@sun.com (ORCPT PSARC-EXT@sun.com); Mon,
 22 Jan 2007 13:09:59 -0700 (MST)
Received: from rosseau.sfbay.sun.com (rosseau.SFBay.Sun.COM [129.146.228.252])
	by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2)
 with ESMTP id l0MK9xjK010943	for <PSARC-EXT@sun.com>; Mon,
 22 Jan 2007 12:09:59 -0800 (PST)
Received: from rosseau.sfbay.sun.com (localhost [127.0.0.1])
	by rosseau.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l0MK9xhG026048	for
 <PSARC-EXT@sun.com>; Mon, 22 Jan 2007 12:09:59 -0800 (PST)
Received: (from sch@localhost)
	by rosseau.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit)
 id l0MK9x6v026047	for PSARC-EXT@sun.com; Mon, 22 Jan 2007 12:09:59 -0800 (PST)
Date: Mon, 22 Jan 2007 12:09:59 -0800
From: Stephen Hahn <sch@eng.sun.com>
Subject: 2007/049 Include GNU which 2.16
To: PSARC-EXT@sun.com
Message-id: <20070122200959.GA26030@eng.sun.com>
Organization: Solaris Kernel Development; Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.2.0.264296
User-Agent: Mutt/1.5.7i
Status: RO
Content-Length: 2737


    I am sponsoring the following fast track for myself.  It, too, seeks
    Minor release binding and is set to timeout on 31 January.  (It is
    by far the smaller of the two consumer cases, and likely more
    representative of follow-on cases to populate /usr/gnu.)

    - Stephen

----

PSARC/2007/049
Include GNU which 2.16
Stephen Hahn (sch@sun.com)

ident	"$Hg: d-gnu-which-fast-track.txt f86d9ec9092d 2007/01/22 11:52:13 -0800 $ SMI"

1.  Summary

    This case adds the GNU/FSF implementation of which(1), under the
    integration guidelines for /usr/gnu [1].

2.  Discussion

    The GNU implementation of which(1) offers a number of enhancements
    for interactive and scripting use over the which(1) invocation in
    /usr/bin.  (For instance, unlike the /usr/bin implementation's ties
    to csh(1) (and specifically $HOME/.cshrc for aliases), the GNU
    implementation has features that allow use with a variety of
    shells.)

    A new package, SUNWgnu-which, will be introduced to deliver the
    component.

    The initial version provided will be which-2.16.

    The which(1) manual page will be modified to include the following
    text in the "NOTES" section:

	The FSF/GNU implementation of the 'which' command can be found
	at /usr/gnu/bin/which.  (See gnu(5) for additional details on
	FSF/GNU commands.)

3.  Interfaces

    /usr/gnu/bin/which
	Location			Committed
	Invocation			Uncommitted
	Human-readable output		Volatile

    /usr/share/info/which.info
	Location			Uncommitted

    /usr/gnu/share/man/man1/which.1
	Location			Uncommitted

4.  References

[1] S. Hahn, B. Smaalders, and R. Orth, PSARC/2007/047: /usr/gnu, 2007.

Appendix A.  Utility synopsis for GNU which variant utility

Usage: which [options] [--] programname [...]
Options: --version, -[vV] Print version and exit successfully.
         --help,          Print this help and exit successfully.
         --skip-dot       Skip directories in PATH that start with a dot.
         --skip-tilde     Skip directories in PATH that start with a tilde.
         --show-dot       Don't expand a dot to current directory in output.
         --show-tilde     Output a tilde for HOME directory for non-root.
         --tty-only       Stop processing options on the right if not on tty.
         --all, -a        Print all matches in PATH, not just the first
         --read-alias, -i Read list of aliases from stdin.
         --skip-alias     Ignore option --read-alias; don't read stdin.
         --read-functions Read shell functions from stdin.
         --skip-functions Ignore option --read-functions; don't read stdin.


-- 
Stephen Hahn, PhD  Solaris Kernel Development, Sun Microsystems
stephen.hahn@sun.com  http://blogs.sun.com/sch/

From gww@eng.sun.com Tue Jan 23 23:09:10 2007
Received: from sunmail4.Singapore.Sun.COM (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id l0O799EZ017705
	for <psarc-ext@sac.sfbay.Sun.COM>; Tue, 23 Jan 2007 23:09:10 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.Singapore.Sun.COM (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id l0O79128005116
	for <@sunmail1brm.central.sun.com:PSARC-EXT@sun.com>; Wed, 24 Jan 2007 15:09:08 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JCD004012J6JT00@brm-avmta-1.central.sun.com> for PSARC-EXT@sun.com
 (ORCPT PSARC-EXT@sun.com); Wed, 24 Jan 2007 00:09:06 -0700 (MST)
Received: from engmail3mpk.sfbay.Sun.COM ([129.146.11.26])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JCD00F5G2J5P860@brm-avmta-1.central.sun.com> for
 PSARC-EXT@sun.com (ORCPT PSARC-EXT@sun.com); Wed,
 24 Jan 2007 00:09:05 -0700 (MST)
Received: from marduk.eng.sun.com (marduk.SFBay.Sun.COM [129.146.108.224])
	by engmail3mpk.sfbay.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2)
 with ESMTP id l0O795H6007325; Tue, 23 Jan 2007 23:09:05 -0800 (PST)
Received: from marduk.eng.sun.com (localhost [127.0.0.1])
	by marduk.eng.sun.com (8.13.6+Sun/8.12.11) with ESMTP id l0O79O9j023386; Tue,
 23 Jan 2007 23:09:24 -0800 (PST)
Received: (from gww@localhost)
	by marduk.eng.sun.com (8.13.6+Sun/8.12.11/Submit) id l0O79Ojg023385; Tue,
 23 Jan 2007 23:09:24 -0800 (PST)
Date: Tue, 23 Jan 2007 23:09:24 -0800 (PST)
From: Gary Winiger <gww@eng.sun.com>
Subject: Re: 2007/049 Include GNU which 2.16
To: PSARC-EXT@sun.com, sch@eng.sun.com
Message-id: <200701240709.l0O79Ojg023385@marduk.eng.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
Status: RO
Content-Length: 318

>     I am sponsoring the following fast track for myself.  It, too, seeks
>     Minor release binding and is set to timeout on 31 January.  (It is
      ^^^^^
      Ditto

>     /usr/gnu/bin/which
> 	Location			Committed
> 	Invocation			Uncommitted
> 	Human-readable output		Volatile
					^^^^^^^^
					Ditto

Gary..

From sch@rosseau.sfbay.sun.com Mon Jan 29 15:45:46 2007
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id l0TNjkca023130
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 29 Jan 2007 15:45:46 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l0TNjkTb018184
	for <@sunmail3mpk.sfbay.sun.com:PSARC-EXT@Sun.COM>; Mon, 29 Jan 2007 15:45:46 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JCN00C01M0A6U00@nwk-avmta-2.sfbay.sun.com> for PSARC-EXT@Sun.COM
 (ORCPT PSARC-EXT@Sun.COM); Mon, 29 Jan 2007 15:45:46 -0800 (PST)
Received: from sfbaymail2sca.sfbay.sun.com ([129.145.155.42])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JCN004JSM0A97B0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-EXT@Sun.COM (ORCPT PSARC-EXT@Sun.COM); Mon,
 29 Jan 2007 15:45:46 -0800 (PST)
Received: from rosseau.sfbay.sun.com (rosseau.SFBay.Sun.COM [129.146.228.252])
	by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2)
 with ESMTP id l0TNjjZh008865	for <PSARC-EXT@Sun.COM>; Mon,
 29 Jan 2007 15:45:45 -0800 (PST)
Received: from rosseau.sfbay.sun.com (localhost [127.0.0.1])
	by rosseau.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l0TNjj60027370	for
 <PSARC-EXT@Sun.COM>; Mon, 29 Jan 2007 15:45:45 -0800 (PST)
Received: (from sch@localhost)
	by rosseau.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit)
 id l0TNjjRD027369	for PSARC-EXT@Sun.COM; Mon, 29 Jan 2007 15:45:45 -0800 (PST)
Date: Mon, 29 Jan 2007 15:45:45 -0800
From: Stephen Hahn <sch@eng.sun.com>
Subject: Re: 2007/049 Include GNU which 2.16
In-reply-to: <20070122200959.GA26030@eng.sun.com>
To: PSARC-EXT@sun.com
Message-id: <20070129234545.GE26985@eng.sun.com>
Organization: Solaris Kernel Development; Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.2.0.264296
References: <20070122200959.GA26030@eng.sun.com>
User-Agent: Mutt/1.5.7i
Status: RO
Content-Length: 2632


   And here are the updates to the GNU which case.

   - Stephen

----

| PSARC/2007/049
  Include GNU which 2.16
  Stephen Hahn (sch@sun.com)
  
  ident	"$Hg$ SMI"
  
  1.  Summary
  
      This case adds the GNU/FSF implementation of which(1), under the
|     integration guidelines for /usr/gnu [1].  Patch binding is sought
|     for this case.
  
  2.  Discussion
  
      The GNU implementation of which(1) offers a number of enhancements
      for interactive and scripting use over the which(1) invocation in
      /usr/bin.  (For instance, unlike the /usr/bin implementation's ties
      to csh(1) (and specifically $HOME/.cshrc for aliases), the GNU
      implementation has features that allow use with a variety of
      shells.)
  
      A new package, SUNWgnu-which, will be introduced to deliver the
      component.
  
      The initial version provided will be which-2.16.
| 
|     The which(1) manual page will be modified to include the following
|     text in the "NOTES" section:
| 
| 	The FSF/GNU implementation of the 'which' command can be found
| 	at /usr/gnu/bin/which.  (See gnu(5) for additional details on
| 	FSF/GNU commands.)
  
  3.  Interfaces
  
      /usr/gnu/bin/which
  	Location			Committed
  	Invocation			Uncommitted
| 	Human-readable output		Not an Interface
  
      /usr/share/info/which.info
  	Location			Uncommitted
  
      /usr/gnu/share/man/man1/which.1
  	Location			Uncommitted
  
  4.  References
  
| [1] S. Hahn, B. Smaalders, and R. Orth, PSARC/2007/047: /usr/gnu, 2007.
  
  Appendix A.  Utility synopsis for GNU which variant utility
  
  Usage: which [options] [--] programname [...]
  Options: --version, -[vV] Print version and exit successfully.
           --help,          Print this help and exit successfully.
           --skip-dot       Skip directories in PATH that start with a dot.
           --skip-tilde     Skip directories in PATH that start with a tilde.
           --show-dot       Don't expand a dot to current directory in output.
           --show-tilde     Output a tilde for HOME directory for non-root.
           --tty-only       Stop processing options on the right if not on tty.
           --all, -a        Print all matches in PATH, not just the first
           --read-alias, -i Read list of aliases from stdin.
           --skip-alias     Ignore option --read-alias; don't read stdin.
           --read-functions Read shell functions from stdin.
           --skip-functions Ignore option --read-functions; don't read stdin.
  

-- 
Stephen Hahn, PhD  Solaris Kernel Development, Sun Microsystems
stephen.hahn@sun.com  http://blogs.sun.com/sch/

