I would like to be able to define arbitrary modifications to command lines that happen before bash sees them at all, ie, before expansion of any kind. Is this possible?
I'm not trying to solve one particular problem, I'm really just curious if it is possible to obtain exactly this functionality without writing my own shell.
alias. – jtbandes Jul 24 '10 at 21:13"before expansion of any kind."
I would like to do complete rewriting of entire command lines. Aliases and shell functions are the limitation I am trying to overcome.
– Personman Jul 24 '10 at 21:28