This should do the trick:
./program `cat file`
If you want the entire file content in a single argument, add double quotation (tested in bash. I think It may vary shell to shell) :
./program "`cat file`"
This should do the trick:
./program `cat file`
If you want the entire file content in a single argument, add double quotation (tested in bash. I think It may vary shell to shell) :
./program "`cat file`"