ls(1) new command line options '-/' and '-%': CIFS system attributes support [PSARC/2007/394 FastTrack timeout 07/11/2007]

Darren J Moffat Darren.Moffat at sun.com
Mon Jul 2 05:17:06 PDT 2007


Joerg Schilling wrote:
> 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.

Joerg:

there are already HUGE clashes of option letters between ls(1) and 
tar(1) and what they mean

Project team:

I really like that the project team chose to extend ls(1) rather than 
doing what other systems did by introducing an additional tool, 
particularly given that ls(1) can fully display acls now.

Was consideration given to just extending the meaning of -V so that it 
also displayed system attribute info as well as the verbose ACL ?

The syntax "-/" seems strange to me but I guess no stranger than what we 
already have with "-@".  When I saw the title of the case and this new 
option I first match this to "dir /p" from MS-DOS era.

As an aside had I been choosing a non alphanumeric char for this I would 
have picked '$' since it has to me some connection to system from other 
OSes that I've used.  But as I said just an aside.

-- 
Darren J Moffat



More information about the opensolaris-arc mailing list