Is there a good way to do multiple substitutions for aliasing a command?
For example
alias cmd = 'ssh -R $1:$2:$1:$2 $3 | something {$1, $2, $3}'
cmd 127.0.0.1 1234 server
Something like this..
Actually, this doesn't really make any sense to pipe the output like this, but similar syntax is what I'd like to see.
It's be nice to have named mappings too, but just indexes is fine.
Using awk perhaps?