Unsetting Variables & Terminator Placement
If I want to temporarily change the IFS like in the example here:
Code:
while IFS='' read -r var ; do cmd ; done ; Do they do anything different from each other? Code:
env -u IFS ; cmd ; |
yes, they are not all the same, but some of them are identical.
You might want to set -xv before executing these commands to see the differences. Also you can use different cmd -s to see how they react on those settings (like echo "'$IFS'") |
All times are GMT -5. The time now is 09:54 PM. |