I must confess I am an ex-windows hacker (a disciple of Matt Pietrek and Fravia). Thats why I miss a journal/summary function in ls.

Today Windoze sucks, so the dir command. But I accept that unix veterans wont adds to the approved ls. And to also give windoze cured people like me an better start we should add the journal option to dir. Because thats a very expected option, this should be a short and a long option.

The seasoned ls could become a gnu long option, maybe --journal or --summary.

* help line:

 -J, --journal[=SEP] switch journal on/off [with thousands separator]

* defaults to no separator

* works in all listing modes

* opt-in + switchable

Example:
  45 Files  1 Link  0 Dirs  -  185.669 (185.631) Bytes
168.440 Files 29.257 Links 20.822 Dirs # 6.053.652.735 (5.962.597.158) Bytes

* the files/links/dirs make sense to me

* the second line is added in recursive mode

* the pure file size in parenthesis is useful to exclude different dir sizes in dir trees.

I hope for positive reception.

linuxCowboy

Reply via email to