No such file or directory 

When running the tkdiff, I got the following error:

bash: tkdiff: No such file or directory

I knew it mush related to #! magic word but it looks ok:

#!/bin/sh

after add -x, I realize that it was the file format which is causing the trouble. It was a dos format file.

So,

[Note]

"No such file or directory" now has two reasons: 1. unfound command. 2. wrong file format.

documented on: 2000.03.04 Sat 13:44:25