0
votes
4answers
203 views

Split text stream by hash value of first field in line

I am looking for a fast filter that will take a text file on standard input, hash each line up to the first tab character, and put the line into a different file depending on the hash value (modulo ...
5
votes
1answer
1k views

How to split binary file based on pattern?

I would like to split a binary file into smaller files based on pattern 'xÚ' (it's 78 DA in hexadecimal), so when there's an 'xÚ' in the file the splitter script splits and pastes the content into a ...