User`s guide

14–2 SREC
Command Format
Both the input_file and output_file elements are optional, and if none are supplied,
then stdin and stdout, respectively, are used.
For example:
% srec -a artest.o artest.sr
% srec -i artest.exe artest.sr