From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 10:00:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6254816A4CE for ; Mon, 16 Feb 2004 10:00:35 -0800 (PST) Received: from cleopatra.aha.ru (cleopatra.zenon.net [195.2.72.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4FB943D1D for ; Mon, 16 Feb 2004 10:00:34 -0800 (PST) (envelope-from fedya@ispol.com) Received: from [192.168.9.152] (HELO mp.aha.ru) by cleopatra.aha.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 3872183 for freebsd-questions@freebsd.org; Mon, 16 Feb 2004 21:02:53 +0300 Received: from [192.168.9.253] (HELO ispol.com) by mp.aha.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4858611 for freebsd-questions@FreeBSD.ORG; Mon, 16 Feb 2004 21:00:32 +0300 Message-ID: <40310509.5080306@ispol.com> Date: Mon, 16 Feb 2004 20:59:37 +0300 From: Feodor Trubetskoy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ls -l total bug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 18:00:35 -0000 Good day, ls man reads: -l *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