• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Some scripting help...

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

PhoenixMDM

Piano Man
Joined
Aug 21, 2001
Location
Candia, NH
I'm trying to write a script that takes an input file, reads it's raw ASCII code, and writes every N-th character to an output file, where N is an integer. It would be used for looking at simple .txt files and similar, no word docs or anything crazy like that. I might apply it to mp3's or wav's or whatever simply for the curiosity factor though.

It seems like it would be really easy, but I'm just learning scripting and the O'Reily book I've got on the subject is kinda useless. Any suggestions, pointers, or snippets?
 
Back