ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

Feature request: Split into null-separated objects on command-line #23

Open mrquincle opened 10 years ago

mrquincle commented 10 years ago

It would be great if I would be able to split a json array in multiple files. I have not found a way to create null-separated items that I can fed into xargs -0 yet. Maybe it is already possible.

mrquincle commented 10 years ago

By the way, on the moment I do it on the command-line with csplit:

csplit file.json '/item/-1' '{*}'