Skip to content

Instantly share code, notes, and snippets.

@cerisier
Created March 25, 2018 19:37
Show Gist options
  • Save cerisier/ab83a0e1b9f56883640bc10afb804a07 to your computer and use it in GitHub Desktop.
Save cerisier/ab83a0e1b9f56883640bc10afb804a07 to your computer and use it in GitHub Desktop.
Ensure no unterminated quotes in cldr strings
#!/bin/bash
set -eux
for i in `find . -iname strings_cldr.xml`; do cat $i | tr -cd "'\n" | awk 'length%2==1 {print NR, $0}'; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment