stockholm/krebs/5pkgs/simple/urix.nix

15 lines
305 B
Nix
Raw Normal View History

2021-10-12 17:36:09 +00:00
{ pkgs, stockholm }:
2021-01-07 20:09:12 +00:00
# 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"
2021-10-12 17:36:09 +00:00
"\\b${stockholm.lib.uri.posix-extended-regex}\\b"
2021-01-07 20:09:12 +00:00
];
}