set -C will prevent the shell from overwriting existing files with the > operator (can always be overriden with the >| operator). Consider adding this to your shell's rc file.
@an3223 is this shell syntax agnostic?
@dpreacher I read it in the POSIX Programmer's Manual so it should work in any POSIX shell
Linux Geeks doing what Linux Geeks do..