-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathusage.txt
More file actions
62 lines (57 loc) · 2.45 KB
/
Copy pathusage.txt
File metadata and controls
62 lines (57 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Usage:
bars [options] [file]
!!! The following is obsolete !!!
OPTIONS
-a generate HTML snippet
-b HTML output format, "t" using text chars (default) or "h" html css bars
-c<c> Decimal point separator, default is "."
-d<n> number of positions after decimal point for display of percentage, default 0
-e<t> if text exceeds limit, "d" replace last three characters with 3 dots "..." or
"e" the last char with unicode ellipsis (U+2026) "…" (default)
-f<t> output format for text, default "tsb"="text, separator, char-bar-chart",
possible format options are:
* t text
* v value = the given value
* p percent = value in percent
* b character based bar
* s separator as defined
* V inverted bar with containing value
* P inverted bar with containing percentage
* B inverted bar without values
-h -? print this help
-t<t> input filename, default stdin
-l<n> output length for text output (Default terminal-width or 80 chars)
-m<t> lines starting with <t> are ignored as they are comment lines.
Default "#". Omitting <t> will define that there are no comments
-n (reserved)
-o<t> Output filename. Output to stdout is default.
-s<t> separator definition or alternative string
* s space (default)
* t tab
* c Comma
* p pipe
* e semicolon
* o colon
* other any self defined
-sort sort by value
-t<n> limit text output to n chars. Default 80% of width
-v verbose mode, default false
-z values are at the end of the input file, default at the beginning
## Validating
// -s<t> separator definition or alternative string
// -f Output format for text. Default "tsvsb"="text, space, value, space, char-bar-chart",
// possible format options are:
// * b character based bar
// * B inverted bar without values
// * c Comma
// * e semicolon
// * i pipe
// * l label
// * o colon
// * p percent = value in percent
// * P inverted bar with containing percentage
// * s space
// * t tab
// * v value = the given value
// * V inverted bar with containing value
// * 1-9 any self defined