Need help getting started
Hello...I am new to this arena and would like some assistance if anyone could offer.
I need to figure out how to open a file and search for a certain string of characters and whatever may follow after that string endin with a ']'
I need to then take that string and do a rm on that string which is essentially a file. There could be multiple occurrences of these strings in the file which would require a delete (rm) for each one.
for example : search a log file looking for "/user/*" It finds something that is "/user/character/player"
I will then need to do a delete of a file named "/user/character/player.bic"
I am not sure if this would be a shell or perl script but would aprreciate someone to point me in the right direction. Once identified how it can be done, I have no problem find a book to show me how.
Thank You.
|