bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ls --total, total number of files listed


From: Thorsten Schroeteler
Subject: ls --total, total number of files listed
Date: Thu, 03 Jun 2004 14:26:13 +0200
User-agent: KMail/1.6

Hi,

i'd love to have an option in ls (e.g. like --total) that would print the 
total number of files in a directory (files_index).
I know of ls | wc, but I still feel that the number of the files listed is a 
function that somehow belongs somehow to ls.
On the other hand is there a reason why this is missing ?
I added the  --total option just to 'ls.c' just to try it out ...

I would appreciate your answer,
Regards
Thorsten


-- 
Thorsten Schroeteler

EADS Deutschland GmbH 
MT642 - Aircraft Simulation 
Postfach 801160 
D-81663 Muenchen 
Germany

Tel. ++49(0)89 607 24388
Fax. ++49(0)89 607 22491




reply via email to

[Prev in Thread] Current Thread [Next in Thread]