Comments (4)
I have no use for this myself, and unlikely to work on it, but I'll review and merge patches. It shouldn't actually be too hard to add.
from uni.
Its not a bad idea for people ppes things through.
from uni.
That's what the -as json
(or -json
) flag is for, and to further process it with jq
.
You actually can do CSV already, kind of, with the -format
flag:
[~]% uni print 70 -c -format '%(char),%(cpoint),%(hex)'
p,U+0070,70
Although this isn't perfect as it won't do escaping of ,
, which a dedicated CSV encoder would. But if you want to use it in a pipe with cut
or awk
or whatnot then that will break too, and you'll need CSV-aware tool. Using tabs or NUL bytes would be better. But again, all of this is what the JSON output is for.
Now, if someone feels CSV is useful then I'm not going to stand in their way if they want to add it, it's just that for me, personally, I don't really see the point, and have no use for it.
from uni.
Like I said, if someone really wants it then they can send a patch, and I'll merge it as long as it has a test or two and isn't absolutely horrible. But I don't really see the point of working on this as JSON and regular -format already seems to cover this, so no need to keep this "TODO item" open.
from uni.
Related Issues (20)
- allow search to return all HOT 5
- Search by utf8? HOT 5
- Make v2 installable via "go install" HOT 7
- Support listing by derived properties HOT 1
- installation fails with " t.Cleanup undefined (type *testing.T has no field or method Cleanup)" HOT 4
- Build fails because https://arp242.net/termtext is 404 HOT 7
- MELTING FACE emoji is not visible in `uni i` HOT 2
- Building fails due to error in zli dependency HOT 5
- clear whitespace at start of args HOT 2
- wasm-exec niceness HOT 3
- Thank you! + new integration HOT 3
- `uni list` - `from` and `to` are identical HOT 1
- identify: Uni is discarding Space, Tab and Newline characters HOT 2
- Please update the golang.org/x/sys dependency
- Not yet updated to Unicode 15 HOT 1
- Private use characters are output as replacement characters HOT 5
- `uni print` rejects UTF-8 for replacement character
- Give `print` an option to not sort characters (or make it not sort by default?) HOT 2
- Unicode 16 beta support? HOT 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 uni.