Bash IFS: its Definition, Viewing it and Modifying it
When writing a bash shell script it is important to understand how IFS (Internal Field Separtor) works and how it can be modified/changed. What is IFS As mentioned in the man bash pages IFS is defined as follows: IFS The Internal Field Separator that is used for word splitting after expansion and to split lines…