Python pre-processor for inline bash commands