Software >> OS >> Unix >> Solaris >> How to set the Internal Field Separator (IFS) to "newline" to allow processing a file line by line using for loop

Bash:

# IFS=$'\n'

Bourne Shell

# IFS='
'

after opening ', press the Enter key and then close '