Tag Archives: macports

Handling whitespace in bash for loops

Tonight I was trying to cleanup my macports installation by uninstalling the packages that are no longer active. I decided to write a script to do this, instead of manually uninstalling them one by one. But in writing the script I came across something I had never seen and the google didn’t give [...]