Comments (1)
Hi @wangyongf This is an expected behavior. csview
supports reading data from stdin. If run csview
without file parameter, it will read the stdin (like cat
or bat
etc.).
Case 1:
$ csview
a,b,c
1,2,3
4,5,6 (press ctrl-d here will output the following)
+---+---+---+
| a | b | c |
+---+---+---+
| 1 | 2 | 3 |
| 4 | 5 | 6 |
+---+---+---+
Case 2:
$ printf 'a,b,c\n1,2,3' | csview
+---+---+---+
| a | b | c |
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
from csview.
Related Issues (20)
- Support distribution on Linux via Linuxbrew HOT 3
- Make it more user-friendly HOT 2
- Installation on Ubuntu 20.04 HOT 1
- Out-of-memory issues with large tsv-file HOT 4
- 能支持添加一个参数,补充一个序号列嘛 HOT 2
- question: Does csview fixed the stream rendering? HOT 7
- Multiline-wrapping HOT 2
- Expose `Table` as a crate? HOT 1
- Add it to a Ubuntu PPA for apt (does not compile on 20.04.4) ? HOT 5
- Center Headers? HOT 1
- Introduce `--sort`: Sort by Header HOT 3
- Align and format numbers? HOT 1
- [Feature] Support for flatten view
- feature request: introduce paging and search HOT 1
- Align numbers by dot HOT 1
- About 1.2.3 release HOT 5
- switch to turn pager off HOT 2
- Generate a Universal Binary for Mac HOT 3
- Error messages from less in version 1.3.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csview.