awk question...

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Craig White
Data:  
Para: 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