* Fixed printf and tee errors
* Fixed more
* Changed to sed '' for BSD compatibility
Co-authored-by: cartercanedy <cartercanedy@users.noreply.github.com>
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
---------
Co-authored-by: cartercanedy <cartercanedy@users.noreply.github.com>
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>