I came across the following line of code (source):
IFS=$'\r'
I'm not quite sure how to interpret that line (specifically why there is a $
character before the newline). It seems like the "special variable" named IFS
is being set to a variable named "the newline character"?
What does this line do, and what part of Bash allows this?