tblf
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Formats CSV/TSV data on the console
NAME
     tblf — format delimited data as a table

SYNOPSIS
     tblf [-lnrz] [-d delimiter] file

DESCRIPTION
     Prints a formatted version of the input table to stdout. Short values are
     padded, and delimiters replaced with double spaces.  tblf assumes all
     input to be UTF-8 or US-ASCII encoded.

     -d delimiter
	     Use delimiter as the seperation token. If the -d argument is not
	     given, tblf tries to deduce the delimiter character automati‐
	     cally.

     -f field
	     Only output the column pointed to by field , which is 1-indexed.
	     Repeat the -f flag to output multiple columns.  tblf outputs all
	     columns by default.

     -l	     Left-align numeric values.

     -n	     Add row numbers.

     -r	     Right-align numeric values (default).

     -z	     Enable zebra-stripe row highlighting.

     file    The file to format. Use a single dash to read from stdin.

EXAMPLES
	   # Format the user database:
	   $ tblf /etc/passwd
	   # Decompress, cut and format a tab-seperated database dump:
	   $ zcat db.tsv.gz | cut -f1-2 | tblf -

SEE ALSO
     cut(1), sort(1), uniq(1)

AUTHOR
     tblf is written by Wander Nauta 

REPORTING BUGS
     Bugs should be reported to the GitHub issue tracker at:

     

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。