Restructured to fix a serious issue: Data was lost when the output file was the same as the input file. Added options -same, -bak, -st. Minor tweaks to fix compilation in Linux.
Restructured to fix a serious issue: Data was lost when the output file was the same as the input file.
Added options -same, -bak, -st.
Minor tweaks to fix compilation in Linux.

JFLarvoire/SysToolsLib,JFLarvoire/SysToolsLib,JFLarvoire/SysToolsLib,JFLarvoire/SysToolsLib