Giter Club home page Giter Club logo

barg's Introduction

barg(1)                                                            barg(1)



NAME
       barg - create simple ASCII bar graphs from CSV data


SYNOPSIS
       barg [OPTIONS]


DESCRIPTION
       barg  processes  data in CSV format an outputs simple bar graphs as
       ASCII graphics. The option -b COLUMNO specifies which column number
       contains  the  (numerical)  data  used  to draw the bars. barg will
       determine the maximum value of this column and will scale all  bars
       relatively  to  this  maximum.  It is also possible to print a text
       next to each bar with the -l COLUMNO option. In this  case  COLUMNO
       can  be  the  number  of a column, either containing some arbitrary
       string (like a label for this bar) or the same column used for  the
       -b option to print the numeric value. The -b COLUMNO and -l COLUMNO
       options can  be  used  multiple  times  and  the  output  of  these
       labels/bars will be in the order as the options were specified.


OPTIONS
       -a     autodetect  columns for labels and bars (each column will be
              used either as label-bar-combination if it's numerical or as
              label otherwise) -a cannot be used in combination with -b or
              -l


       -b COLUMNO
              use data from column number COLUMNO (starting at 0) to  draw
              a bar


       -l COLUMNO
              use  string  from  column  number COLUMNO (starting at 0) to
              print a label


       -c BARCHAR
              use BARCHAR instead of "|" to draw the bars.  BARCHAR  be  a
              single character.


       -d DELIMITER
              use DELIMITER instead of Tab as field delimiter when reading
              data


       -f INPUTFILE
              read data from INPUTFILE instead of STDIN


       -w WIDTH
              Don't use automatically determined terminal width  to  scale
              the graphs but limit the output width to WIDTH characters.


EXAMPLES
       You   can   find   examples  on  how  to  use  barg  in  the  wiki:
       https://github.com/stefanschramm/barg/wiki


AUTHOR
       Stefan Schramm <[email protected]>




                                APRIL 2011                         barg(1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.