1DBAR(1)                     General Commands Manual                    DBAR(1)
2
3
4

NAME

6       dzen2-dbar - simple gadget that you can use in combination with dzen to
7       display a progressbar.
8

SYNOPSIS

10       dzen2-dbar [-w characters] [-s symbol] [-min minvalue] [-max  maxvalue]
11              [-l string] [-nonl]
12

DESCRIPTION

14       dbar  is  an application that generates semi graphical progress meters,
15       from some values you supply to it.
16
17       See the usage examples for a description of the expected input format.
18

OPTIONS

20       A summary of options is included below.
21
22       -max   Value to be considered 100% (default: 100)
23
24       -min   Value to be considered 0% (default: 0)
25
26       -w     Number of charcaters to be considered 100% in the bar  (default:
27              25 )
28
29       -s     Symbol  represeting  the percentage value in the bar (default: =
30              )
31
32       -l     label to be prepended to the bar (default: '' )
33
34       -nonl  no new line, don't put '0 at the end of the bar    (default:  do
35              print '0)
36

USAGE EXAMPLES

38       Static 0% and 100% mark or single value input:
39              Command: echo 25 | dbar -m 100 -l Sometext
40              Output: Sometext  25% [======                   ]
41
42       If your 100% mark changes dynamically or 2-values input:
43              Command: echo "50 150" | dbar
44              Output: 33% [========                 ]
45
46       If your value range is not between [0, maxval] or 3-values input:
47              Command: echo "50 -25 150" | dbar
48              Output: 43% [===========              ]
49
50       Dbar was written by Robert Manea.
51
52       This manual page was written by bertagaz <bertagaz@ptitcanardnoir.org>,
53       for the Debian project (but may be used by others).
54
55
56
57                                  Jan 01 2008                          DBAR(1)
Impressum