blob: 73ea3e6653735cb388d35923e2b130b335f2c1cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ pkgs, stockholm }:
# 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${stockholm.lib.uri.posix-extended-regex}\\b"
];
}
|