Correct edit and diff commands for unix