3 ms·
For 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 [
by quench 3y ago
For 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 )