I'm trying to find a way to translate functions to csh/tcsh aliases, since they lack functions but have parametric aliases.  As a first step I'm trying to create an export command.Here's what I've got so faralias export 'setenv `echo \!:1 | cut -d'=' -f1` `echo \!:1 | cut -d'=' -f2`'but I'm baffled as to why it's not working.  I'm quite new to their syntax so I might be making a mistake that would be obvious to an experienced (t)csh user.  Here's the result:% export key=valuesetenv: Syntax Error.If I do almost the same thing, but use echo instead of setenv, it works:alias export 'echo `echo \!:1 | cut -d'=' -f1` `echo \!:1 | cut -d'=' -f2`'% export key=valuekey valueThat seems to confirm that everything should work, and it should get translated into setenv key value.What am I doing wrong?
parametric aliases in csh to add export command
alias;tcsh;csh