On Aug 13, 1:16pm, Peter Stephenson wrote: } } I would have thought a function with a single argument was much simpler... Er, do you mean we should have a function instead of $history[HISTCMD] ? -- Barton E. Schaefer