Skip to content

Fields

Terminal window
splitby --fields [selection...]

Splits the input into fields, using a delimiter. This is the default if no other selection mode is specified.

This flag is only useful when changing the default behaviour or using aliases.

Terminal window
echo "a,b,c" | splitby --characters --fields -d "," 2
# b