Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-05-04 11:17:47 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-05-04 11:17:47 -0400
commit70f9e9c277bd0d3d0db9e4eebfd31a02ae8c6fd1 (patch)
tree89d86ce22dea1074db6881f9ac30649687cd9aaf /src/current/tools/zipre
parent612587c63f77ed72d4d3879c03ed08ca44ad5ded (diff)
downloadtame-70f9e9c277bd0d3d0db9e4eebfd31a02ae8c6fd1.tar.gz
tame-70f9e9c277bd0d3d0db9e4eebfd31a02ae8c6fd1.tar.bz2
tame-70f9e9c277bd0d3d0db9e4eebfd31a02ae8c6fd1.zip
Move {src/current/tools=>build-aux}/*
Diffstat (limited to 'src/current/tools/zipre')
l---------[-rwxr-xr-x]src/current/tools/zipre38
1 files changed, 1 insertions, 37 deletions
diff --git a/src/current/tools/zipre b/src/current/tools/zipre
index 3ec1cc3..2206071 100755..120000
--- a/src/current/tools/zipre
+++ b/src/current/tools/zipre
@@ -1,37 +1 @@
-#!/usr/bin/env php
-<?php
-/**
- * Given a set of sorted zips, generates a regular expression to match only the
- * given input
- *
- * Copyright (C) 2016 R-T Specialty, LLC.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * I wanted to write this in Scheme (it's a perfect recursive application), but
- * I figured that other developers may get annoyed having to find a Scheme impl
- * that works for them...so...PHP it is...
- *
- * THIS SCRIPT EXPECTS THE DATA TO BE SORTED! This can be easily accomplished by
- * doing the following:
- * sort -d zipfile | ./zipre
- */
-
-include 'lib/zipre.php';
-
-// grab input from stdin (must be sorted!)
-$data = explode( "\n", file_get_contents( 'php://stdin' ) );
-
-// build and output
-echo gen_re_quick( $data );
+../../../build-aux/zipre \ No newline at end of file