How about a way to have a function act directly on the contents of a variable or the output of another function (e.g., @function{variable} and @function{@function{variable}})? The point is that the values of the variables and functions would not pass through the command line. There are a number of possibilities. I haven’t worked out the details, but it seems to me that it could permit processing of text without all the problems of having it go through the command line (with all the problems that various special characters cause).