posted 16 years ago
Your first example works for me, although 'export' would be more appropriate than 'SET', I think.
The second one probably does nothing, since you're attempting to pipe output of the SET command (which probably wouldn't have output) into a program that's already been told that it is supposed to get input from a file.
I'm not sure if there's a Unix shell with a 'SET' command, though. SET is a Windows command.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.