Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
3bb43631
Commit
3bb43631
authored
Feb 07, 2008
by
Glenn Proctor
Browse files
Count number of entries dumped to gzip'd XML files.
parent
6cbce1cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
misc-scripts/ebi_search_dump/count_entries.sh
misc-scripts/ebi_search_dump/count_entries.sh
+3
-0
No files found.
misc-scripts/ebi_search_dump/count_entries.sh
0 → 100755
View file @
3bb43631
#!/bin/sh
gunzip
-c
*
.xml.gz |
grep
'<entry_count>'
| perl
-e
'while (<>) {$_ =~ /\D+(\d+)\D+/; $t+=$1;} print "$t\n";'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment