Feeding to a program a file stripped of its initial part
by Grabby from LinuxQuestions.org on (#4SD4H)
I need to feed to a program the ending part of a binary data file whose first X bytes have to be ignored. So, basically I have to strip a binary data file of its initial part and read it starting from an offset value.
I have a hunch that a program like tail or head should be used, but being a newbie I was not able to understand how to do this.
Could you please provide a command line telling me how to feed (using piping, I suppose) the file BinaryData.bin (starting from an offset value OFFSET, as if it was the first byte) to the program Program.so?
Thanks a lot
Grabby


I have a hunch that a program like tail or head should be used, but being a newbie I was not able to understand how to do this.
Could you please provide a command line telling me how to feed (using piping, I suppose) the file BinaryData.bin (starting from an offset value OFFSET, as if it was the first byte) to the program Program.so?
Thanks a lot
Grabby