Don Cragun <don.cragun at sun.com> wrote:
>
> Template Version: @(#)sac_nextcase 1.63 06/14/07 SMI
> This information is Copyright 2007 Sun Microsystems
> 1. Introduction
> 1.1. Project/Component Working Name:
> ls(1) new command line options '-/' and '-%': CIFS system attributes
> support
> 1.2. Name of Document Author/Supplier:
> Author: Basabi Bhattacharya
> 1.3 Date of This Document:
> 29 June, 2007
> 4. Technical Description
> 1. Introduction
> 1.1. Project/Component Working Name:
> ls(1) new command line options '-/' and '-%': CIFS system attributes
> support
> 1.2. Name of Document Author/Supplier:
> Author: Basabi Bhattacharya
> 1.3 Date of This Document:
> June 29, 2007
>
> 4. Technical Description
>
> This case adds two new command line options '-/' and '-%' to ls(1) to
> support the extended system attributes added in PSARC case 2007/315.
>
> I.Overview
>
> The Extensible Attribute Interfaces (PSARC/2007/315) project introduced
> a number of extended system file attributes. The system utilities need
> to be able to display and manipulate these new attributes.
>
> This fasttrack case adds two new options ("-/ flag" and "-% timestamp")
> to the ls utility to display the new system attributes and to allow the
> file creation timestamp attribute to be used (as well as the atime,
> ctime, and mtime timestamps) for sorting the list of files displayed.
The option -/ is already used by star:
-/ don't strip leading '/'s from file names
I believe that special characters like '/' should be use for similar tasks
in order to make it easier to memorize options.
I propose to use either a different character or to introduce long options,
e.g. by switching from getopt() to getargs().
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily