Tired of deleting wifi PLISTs by hand.
basename
string slicing with script variable name$0
@ http://stackoverflow.com/a/26753382- Logging @ http://unix.stackexchange.com/a/145654
- env tightening @ http://superuser.com/a/1133205
- PLISTs location @ http://osxdaily.com/2016/09/22/fix-wi-fi-problems-macos-sierra/
- Error logging @ http://unix.stackexchange.com/a/145654
- Ben Daschel @ https://github.com/supercoffee fixed my for loop modified from https://www.cyberciti.biz/faq/use-a-for-loop-to-remove-file-in-unix/ and http://stackoverflow.com/a/20203051. He also added the "declare" bit for the plistsArray.
- Directory arrays @ http://stackoverflow.com/questions/21668471/bash-script-create-array-of-all-files-in-a-directory
- Verify exit status function @ https://gist.github.com/smendonca/5064665
- Current user @ https://www.jamf.com/jamf-nation/discussions/14283/smb-network-shares-and-ad-home-directories#responseChild92639
- Set $IFS to eliminate whitespace in pathnames @ http://tldp.org/LDP/abs/html/internalvariables.html
- Quotation marks for variable expansion @ http://unix.stackexchange.com/a/131767
- Array loop and syntax @ http://unix.stackexchange.com/a/34012
TBD