blob: c0db8c975d5b852c8fb259dcc3604322b2247e7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
let lib = import <stockholm/lib>; in
{ pkgs }:
# urix - URI eXtractor
# Extract all the URIs from standard input and write them to standard output!
# usage: urix < SOMEFILE
pkgs.execBin "urix" {
filename = "${pkgs.gnugrep}/bin/grep";
argv = [
"urix"
"-Eo"
"\\b${lib.uri.posix-extended-regex}\\b"
];
}
|