Skip to content

ls: --dired -R output error #6522

@mengshengwu

Description

@mengshengwu

I found the output of uu_ls is not same as GNU ls.

$ mkdir -p /tmp/example/a 

# GNU ls
$ ls -D /tmp/example -R
  /tmp/example:
  total 4
  drwxr-xr-x 2 causingbrick causingbrick 4096 Jul  2 00:59 a

  /tmp/example/a:
  total 0
//DIRED// 85 86
//SUBDIRED// 2 14 90 104
//DIRED-OPTIONS// --quoting-style=shell-escape

# uu_ls
$ cargo r -p  uu_ls -- -D /tmp/example/ -R
  /tmp/example/:
  total 4
  drwxr-xr-x 2 causingbrick causingbrick 4096 07-02 00:59 a

  /tmp/example/a:
  total 0
//SUBDIRED// 2 15 90 104
//DIRED-OPTIONS// --quoting-style=literal

Not same:

  1. The date properties of dir
  2. uu_ls miss one line output and the numbers followed by like SUBDIRED

I'm not familiar with Emacs' dired mode, I'll try to read info or man later to figure out what these mean. 🤣

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions