awk question...

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Craig White
Fecha:  
A: plug-discuss
Asunto: awk question...
I need to remove a frequent line in one of my files...

The line looks like this...


cat rights_roles.yaml | \
awk '{if ($1=="\-\-\- \!ruby\/object\:RightsRoles"){print ""} \
else {print $0}}' > rights_roles.yml


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss