111 reputation
3
bio website manniche.net
location Copenhagen, Denmark
age 38
visits member for 4 years, 1 month
seen Jun 27 at 8:12
Assumptions are the mother of all fuckups

Jun
27
comment Splitting string by the first occurrence of a delimiter
I would like to emphasize the trailing dash in -f 2- in the string="$( cut -d ';' -f 2- <<< "$s" )"; echo "$string" command. This is what ignores the rest of the delimiters in the string for the printout. Not obvious when looking at the man page of cut