Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 20:59:37 +0300
From:      Feodor Trubetskoy <fedya@ispol.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ls -l total bug?
Message-ID:  <40310509.5080306@ispol.com>

next in thread | raw e-mail | index | archive | help
Good day,

ls man reads:

  -l      <skip>  *If the output is to a terminal, a total sum for all 
the file sizes is output on a line before the long listing.*

But I have found that ls consistently put "total" in a first line even 
if output is piped or redirected. As an example:

ls -l | cat

Is it bug or I missed something?

FreeBSD 5.1 Release

Thank you,
--fedya



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40310509.5080306>