jthill / columnate Goto Github PK
View Code? Open in Web Editor NEWminimum-width columnation of input lines, row- or column-major order, toy awk implementation
License: The Unlicense
minimum-width columnation of input lines, row- or column-major order, toy awk implementation
License: The Unlicense
when I pipe the output of test to columnate
./test|columnate
I get this error:
awk: /dev/fd/4:23: (FILENAME=- FNR=53) Fatal: Division by Null
if you call with -C the output should not create an extra linebreak at the very end
#!/bin/sh
should be
#!/bin/bash
spit() { for n; do echo $n; done; }
spit 1 7777777 999999999 a iiiiiiiii A 4444 | ./columnate -w30
1 a A
7777777 iiiiiiiii 4
999999999
like in the command column, there should be a simple option -x to fill columns before filling rows.
The script should work without having to call it with "COLUMNS=$COLUMNS"
maybe the whole script should be a bash script that includes the awk call inside.
The main goal is to be able to do stuff like:
cat file | columnate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.