[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--bar: Progress bar
From: |
Ole Tange |
Subject: |
--bar: Progress bar |
Date: |
Fri, 1 Nov 2013 12:24:35 +0100 |
I have implemented --bar. It is a progress bar similar to --eta. So
you can now do:
seq 808 | src/parallel --bar '(echo {};sleep 0.1)' |wc
seq 808 | src/parallel --bar '(echo {};sleep 0.1)>/dev/null' |&
zenity --progress
Give it a spin and provide some feedback.
git clone git://git.savannah.gnu.org/parallel.git
Especially if you find a way to make 'zenity' read the stderr, while
the stdout can be passed to, say, wc. This does not work:
seq 808 | src/parallel --bar '(echo {};sleep 0.1)' 2>(zenity --progress) | wc
This sort of works but is clumsy:
mkfifo stderr
zenity --progress < stderr &
seq 808 | src/parallel --bar '(echo {};sleep 0.1)' 2>stderr | wc
rm stderr
/Ole
- --bar: Progress bar,
Ole Tange <=