On 13.01.2012 14:35, Neil Williams wrote:
printenv? Maybe printenv combined with sed or grep ... What is the advantage?
expanding variables in a file is very tricky using bash only.And I don't really see your point. What did you mean with "printenv combined with sed"? Listing all environment-variables and replacing them in the stream using sed? I think this way is laborious.
Regards, Michael