Is it possible to write commands to text file and then loaded it into terminal as file? If yes, how is the command for loading the file? Thank you.
For instance file_commands:
awk -f program.awk d01.active > out1 awk -f program.awk d02.active > out2
It is because of a problem with running an awk program that doesn't work with command
awk -f program.awk d??.active > out
I need to use program.awk for lots of files and this seemed to me as easier solution when I am not able to repair program for that command with ??.
It is related with this question https://stackoverflow.com/questions/55313187/more-input-files-in-awk?noredirect=1#comment97356807_55313187