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 at 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 at sun.com  http://blogs.sun.com/sch/

Reply via email to