For enum -d refers to the input and output:
>xan range 3 | xan map "n as n2" | xan fmt -t? | xan -d? enum
index?n?n2
0?0?0
1?1?1
2?2?2
whereas on transform it refers to the input only:
> xan range 3 | xan map "n as n2" | xan fmt -t ? | xan enum -d? | xan transform -d? * "_**2"
index,n,n2
0,0,0
1,1,1
4,4,4
In Miller (mlr) one can specify both the input field separator (--ifs) and the output delimiter (--ofs) on most commands. In qsv -d is the input delimiter and -t is the output delimiter. awk has -F as the input field separator and -v OFS= as the output field separator.
For
enum-d refers to the input and output:whereas on
transformit refers to the input only:In Miller (mlr) one can specify both the input field separator (--ifs) and the output delimiter (--ofs) on most commands. In qsv -d is the input delimiter and -t is the output delimiter. awk has -F as the input field separator and -v OFS= as the output field separator.