korn shell

All tags

KSH the second

Woe unto me! Earlier this day I debugged a korn shell script and were not able to find the culprit. With debugging mode set -x I was able to identify, that one of my variables were actualy not recognized as such. After a little bit of tearing my hair out I finaly found the little scallywag: I had inserted an unnecessary space between the variable name and the equal-sign. Therefore the interpreter didn’t understand what I wanted him to do.

KSH basics

Just for the guys who keep forgetting about the simplest commands in korn shell (like me…) www.well.ox.ac.uk/~johnb/comp/unix/ksh.html