Skip to content

Commit

Permalink
Merge pull request riolet#15 from riolet/develop
Browse files Browse the repository at this point in the history
Correcting README typo
  • Loading branch information
rrezel authored Mar 31, 2017
2 parents 2d096e0 + bcd2afb commit b399493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ We are in the process of adding utility functions to pol. Contributions are most
Returns the value *x* as a barchart. If *p* is true, x is intepreted as a percentage, with 100% being *w* wide.

```
$ $ df -B1 | pol -s "'{:20.20}\t{:10.10}\t{:10.10}\t{:10.10}\t{:5.5}\t{}\t{:10.10}'.format(i[0],bytesize(i[1]),bytesize(i[2]),bytesize(i[3]),i[4], barchart(int(i[2])/float(i[1]),p=True) if i[1].isdigit() else ' '*10,i[5]) for i in _"
$ df -B1 | pol -s "'{:20.20}\t{:10.10}\t{:10.10}\t{:10.10}\t{:5.5}\t{}\t{:10.10}'.format(i[0],bytesize(i[1]),bytesize(i[2]),bytesize(i[3]),i[4], barchart(int(i[2])/float(i[1]),p=True) if i[1].isdigit() else ' '*10,i[5]) for i in _"
Filesystem 1B-blocks Used Available Use% Mounted
/dev/mapper/docker-8 9.99 G 8.06 G 1.93 G 81% ▓▓▓▓▓▓▓▓░░ /
tmpfs 31.37 G 0.00 B 31.37 G 0% ░░░░░░░░░░ /dev
Expand Down

0 comments on commit b399493

Please sign in to comment.