-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.ncbi.nlm.nih.gov/repos/toolkit/trunk/internal/scripts/edirect@445115 470b1a5d-c923-0410-adfa-dd7f1cf1b600
- Loading branch information
Jonathan Kans
committed
Aug 31, 2014
1 parent
e1c7fc1
commit 2e136ef
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
xargs -n "$@" echo | | ||
sed 's/ /,/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
sort -f | | ||
uniq -i -c | | ||
perl -pe 's/\s*(\d+)\s(.+)/$1\t$2/' | | ||
sort -t ' ' -k 1,1nr -k 2f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
sed 's/[^a-zA-Z0-9]/ /g' | | ||
tr 'A-Z' 'a-z' | | ||
xargs -n 1 |