Script to delete a line from many files

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Alan Dayley
Fecha:  
Asunto: Script to delete a line from many files
Attention script wizards: I have a utterly simple request.

I need a script to do the following:
- Command line input
-- Regular expression to find
-- Filenames to process
- Delete line in file that contains matching regular expression

That's it.

I have yet to take the time to learn sed, awk or other such tools and I
just want a script now. (Instant gratification thing.)

Alan