aboutsummaryrefslogtreecommitdiff
path: root/each
diff options
context:
space:
mode:
Diffstat (limited to 'each')
-rwxr-xr-xeach18
1 files changed, 0 insertions, 18 deletions
diff --git a/each b/each
deleted file mode 100755
index b1e5727..0000000
--- a/each
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/perl
-
-$i = 0;
-for (@ARGV) {
- if (/^;$/) { $command .= '; '; next; }
- if (/^&&$/) { $command .= '&& '; next; }
- if (/^\|\|$/) { $command .= '|| '; next; }
- if (/^\|$/) { $command .= '| '; next; }
- s/"/"'"'"/g;
- s/\$/\\\$/g;
- s/\\\$\+/\$/g;
- $command .= "\"$_\" "
-}
-
-while (<STDIN>) {
- chomp($ENV{x} = $_);
- system($command);
-}