From 6d0346fd2af53096b65560cf7a9be3bfe4a56912 Mon Sep 17 00:00:00 2001 From: garbled Date: Thu, 12 Jan 2006 20:33:20 +0000 Subject: Apply patch from PR bin/28717 This adds a -e option to progress which causes the progress bar to be sent to stderr. This allows using progress mid-pipe, such as: tar -cf . | progress -e bzip -1c | ssh host "cat > file" --- progress.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'progress.1') diff --git a/progress.1 b/progress.1 index 6ed316f..b015e3e 100644 --- a/progress.1 +++ b/progress.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: progress.1,v 1.9 2004/04/03 06:19:22 lukem Exp $ +.\" $NetBSD: progress.1,v 1.10 2006/01/12 20:33:20 garbled Exp $ .\" .\" Copyright (c) 2003,2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -38,7 +38,7 @@ .Nd feed input to a command, displaying a progress bar .Sh SYNOPSIS .Nm -.Op Fl z +.Op Fl ez .Op Fl f Ar file .Op Fl l Ar length .Op Fl p Ar prefix @@ -65,6 +65,8 @@ simply displays a count of the data and the data rate. .Pp The options are as follows: .Bl -tag -width XlXlengthXX +.It Fl e +Display progress to standard error instead of standard output. .It Fl f Ar file Read from the specified .Ar file -- cgit v1.2.3