What IFS Controls
line="alice:x:1000:1000". Which line splits it into fields at the colons without changing IFS for the rest of the script?
line="alice:x:1000:1000"
Choose one answer
IFS=: read -r user pass uid gid <<<"$line"
read -r -d : user pass uid gid <<<"$line"
IFS=:; read -r user pass uid gid <<<"$line"
read -r user pass uid gid <<<"${line//:/,}"