urix: init
This commit is contained in:
parent
120eadb80a
commit
2aab7aea07
15
krebs/5pkgs/simple/urix.nix
Normal file
15
krebs/5pkgs/simple/urix.nix
Normal file
|
@ -0,0 +1,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"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue