Just merge the file with stdin with the cat :
./command.sh < <(cat myfile -)
or
cat myfile - | ./command.sh
cat team
cat denote con cat enate :
man cat NAME cat - concatenate files and print on the standard output SYNOPSIS cat [OPTION]... [FILE]... DESCRIPTION Concatenate FILE(s), or standard input, to standard output. ...
(please R ead T he F ine M anual ;-)
You can write
cat file1 file2 file3 ... fileN
and
cat file1 - file2 cat - file1 cat file1 -
depending on your need ...
source share