#!/bin/bash
./program < input.txt > output.txt
The part is > output.txtignored, so output.txt ends up empty.
This works for the team sort, so I expect it to work for other programs as well.
For what reason does this not work? How do I achieve this?
source
share