A #script for when you want your #macOS #HostNames and #LocalHostNames to (minus special characters) match their #ComputerNames.
```
COMPUTERNAME=$(scutil --get ComputerName)
scutil --set HostName "$COMPUTERNAME"
scutil --set LocalHostName ${COMPUTERNAME//[$' \'\t\r\n']}
```
Add special characters to be removed as needed.