awk question...

Craig White craigwhite at azapple.com
Sun Jun 1 17:16:42 MST 2008


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




More information about the PLUG-discuss mailing list