
03-18-2008
|
|
Registered User
|
|
|
Join Date: Mar 2008
Location: England
Posts: 3
|
|
Quote:
Originally Posted by jim mcnamara
Are you trying to do steganography? Your example isn't clear to me. grep is not normally used to add something that isn't there already. It just searches, sed is used to change data.
|
The idea is to have some words within another file and then use a random select to get a word from that file and then generate as ----- so it is hidden from the user. From that they have to guess the letter and with the simple input they give this would then search the word for the letter and then replace it with the users inputted letter so ----a-- as an eg. The question is can grep be used if so or if not how to do this.
|