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