Actually, he said "like when a script has an error in it and kixtart would echo the last read line with the error in it". If the script has an error in it, and KiX chokes on the error, the script no longer has control anyway so you get only what KiX gives you.

If, on the other hand, you are still in control of the execution, then the error logging logic would know where it is and could send the pertinent info to the log. Actual line number may have little meaning if the script was tokenized.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.