[unix] How to use variables in a command in sed?