Dear Experts,
I'm writing a script that should process a contents of a file, but should be file-independent. The second step would be using the script few times in pipe as follows:
type input.txt|script.bat ...|script.bat ...|script.bat ... > output.txt
Is it possible to use either of the following syntax:
type input.txt|script.bat
or
script1.bat ...| script1.bat ...
If the answer is positive, please help me to understand this technique.