Best way to split input lines based on fixed field widths? #1834
ollystephens
started this conversation in
General
Replies: 2 comments
-
A related issue #224 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ollystephens @aborruso indeed, Miller does not currently have this, but it would be nice. One use-case is for 'recovering' pprint output which can be lossy with respect to delimiters. For example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently discovered that gnu awk has a way of dealing with fixed-width fields with no distinctive field separator.
https://www.gnu.org/software/gawk/manual/html_node/Constant-Size.html
As I've just encountered output that fits this category, and as I like to do as much as I can with Miller, I was wondering on best approach.
For now, I'm filtering the output through gawk and into Miller in order to add a structure Miller can parse, but I'd rather do it all in one tool.
Beta Was this translation helpful? Give feedback.
All reactions