- 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?
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?