bug#79710: [PATCH] ls: add --count and --count-list options to display file, directory, and symlink counts and counts with list of contents

Debkanta Mondal <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <CAJPp_TkNCcoz_rb7wKZGGBrBejXjpKJM++zBm_EQyZdGSHk=Ag@mail.gmail.com>
 my-count-and-count-list-ls-update.patch
Hello Coreutils maintainers,

This patch adds two new options to `ls`:
  --count       : Display the total number of directories, files and
symbolic links.
  --count-list  : Display a detailed count + list of directories,
files and symbolic links present in the current directory.

The purpose of this update is to make it easier for users to quickly see
object counts when listing directory contents.

The patch was tested on coreutils-9.3 using `make check`, and all tests passed.

I have attached the patch file with this email.

Thank you for maintaining Coreutils and for reviewing my contribution!

Signed-off-by: Debkanta Mondal ([email protected])
ls-count-feature.patch (application/octet-stream, 268.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.