source: other-projects/metadata-encoding/LIST-TITLE-WITH-NON-ASCII.sh

Last change on this file was 38636, checked in by davidb, 4 months ago

Some rough cut scripts to count non-ascii titles in MongoDB

  • Property svn:executable set to *
File size: 295 bytes
Line 
1#!/bin/bash
2
3query=$(cat <<'EOF'
4db.xref.find({title:{$regex:"[\u0080-\uFFFF]",$options:""}},{DOI: 1, title: 1, _id:0})
5EOF
6)
7
8cd mongodb \
9 && echo $query$1 | ./RUN-MONGOSH.sh MetadataQuality
10
11
12# Beyond Latin-1
13#db.xref.find({title:{$regex:"[\u0100-\uFFFF]",$options:""}},{title: 1, _id:0})
Note: See TracBrowser for help on using the repository browser.