llvm-project/libcxx/test/std/input.output/iostream.objects/send-stdin.sh

4 lines
54 B
Bash

program=${1}
input=${2}
echo -n ${input} | ${program}