Skip to content
Advertisement

Tag: heredoc

How to insert a python program into a bash script?

I have a small python program that parses a text file and writes the output to another file. Currently, I am writing a bash script to call this program several times, it looks something like: This works fine but I want to know if it is possible to have the python program inside the bash script file so when another

Advertisement