3 ms·
Yeah, the examples are focused on dt’s internal state and features. A few real world practical examples of what you can do with it would be much better.
by stingraycharles 3y ago
Yeah, the examples are focused on dt’s internal state and features. A few real world practical examples of what you can do with it would be much better.
- quench 3y agoFor example I am trying to figure out how I would split each line on a delimiter. I cant figure out what the syntax is dt [ "," split ] pls prints split dt [ "," split ] map pls prints stack underflow I think I could definitely use this if it had better docs and I could figure out how to.
- acqq 3y agoI don't know what that is intended with that, but for simple line splits I'd use awk, which is typically everywhere, and its parameter -F (F there stands for field separator) that is, given the file L with the lines hello,world,one maybe,baby,you awk -F, '{ print $2 }' L should give world baby (tested on https://busybox.net/live_bbox/live_bbox.html https://busybox.net/live_bbox/live_bbox.html )