title: How can I get the patterns spotted by bzip2? (or any other compression algorithm)
body: <p>I have a huge file made up of the characters "0", "1", "2", "3". No spaces, not anything else. Just these 4 characters. I have used bzip2 to compress it and the file decreased size from X to 0.05*X. I'd like to know what were the strings/patterns that bzip2 found to achieve that compressed version of the file (e.g. 0123213232, 0123121212222112, etc.). Is there a simple way to extract that information either from the actual bz2 file or by running bzip2 with some special command-line option?</p>
  
  <p>If you know the answer for some other existing compression program, I'll also be interested in hearing about that.</p>
  
  <p>Thanks for any help.</p>
  
  <p>Best,
  Surikator.</p>