From owner-freebsd-questions@FreeBSD.ORG Sat Mar 9 11:26:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 84D23358 for ; Sat, 9 Mar 2013 11:26:36 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm18-vm0.bullet.mail.ird.yahoo.com (nm18-vm0.bullet.mail.ird.yahoo.com [77.238.189.215]) by mx1.freebsd.org (Postfix) with SMTP id 863F7AB9 for ; Sat, 9 Mar 2013 11:26:35 +0000 (UTC) Received: from [77.238.189.230] by nm18.bullet.mail.ird.yahoo.com with NNFMP; 09 Mar 2013 11:26:28 -0000 Received: from [217.146.189.102] by tm11.bullet.mail.ird.yahoo.com with NNFMP; 09 Mar 2013 11:26:28 -0000 Received: from [127.0.0.1] by smtp118.mail.ird.yahoo.com with NNFMP; 09 Mar 2013 11:26:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1362828388; bh=Z172ovf54zhG6whZFa1dmQwnttj0Ao/q+1uiEjthO3c=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=3LUsCyO3UKvjeqF/wHHCsDljYsv1VQ+GmqKW+W6YD5KyHbMF7E1jQ/+oHGWDZcfIZQYIIDI/DeEI0xP6P2iCpQnouBzx6zoTssN5qA9gxa3/ItWHX0OXFu2grnhtoXKTtNFUiCM1Kzw34lXkhL+T4nmz+TM3SfVA0pDGXkC6Sng= X-Yahoo-Newman-Id: 592062.47222.bm@smtp118.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: hfVFAbkVM1lHYSMgSlmpFc1Hp1jwOSf5_HuO_FjgTkIswGw MoIUMYqM7aJgxKQs7yBc1OqA9OYhQdOUFau_S0WitOYrixtBHgiThnFNc_Cx .rXL.uniu6yGCpUK8v4LjbHSDgk83teSf5BBblI24Uaksi58F.MxRcBG6gBq bY3KYFkbyKjOdpa2TaVgbNnVFS9m7A.cCXo1bPt1ZEooEuBg1JJsGKP8Stza aLMJpCcMACfPANpvkDlZ1hinC2VI5M.IP1SbQgE7vXDFW6ukIYrgcJmCj978 9HcjRHxz16HqhtLnKiR7cq8rJFw9t5XnHcK9TXyB9BXw959XKHvcztOtM6t6 M9gb88RrDs9ZABjRJqBHACmSnn7Z_s3yENmnRx60fwoE__dVsiAo1KPLM_sp 0A_k4i5fT_pM- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Received: from camibar.emorras.eu (emorrasg@85.219.45.252 with plain) by smtp118.mail.ird.yahoo.com with SMTP; 09 Mar 2013 03:26:28 -0800 PST Date: Sat, 9 Mar 2013 12:26:42 +0100 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: How to know % of read file in cat? Message-Id: <20130309122642.c1112d80f8c8c671b10ea87f@yahoo.es> In-Reply-To: <20130309101126.GA2609@tinyCurrent> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> <20130309101126.GA2609@tinyCurrent> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Matthias Apitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2013 11:26:36 -0000 On Sat, 9 Mar 2013 11:11:26 +0100 Matthias Apitz wrote: > Yes, in your case cat(1) is superflues (see also the Useless Use of Cat > Award) because the correct way would be: > > camibar% fossil import --git file.fossil < file.git > > It depends of the tool 'fossil' if you can monitor somehow the progress, > for example if it writes a log or with accounting tools how many bytes > have been read, etc. No, it doesn't show any output or log about how many bytes has been processed or in what state of import is it. Nothing is shown. I'm going to modify fossil so it writes to output how many lines has been processed, it's trivial and i think enough. A wc -l file.git shows 430 millions of lines. Thanks to all --- --- Eduardo Morras