summaryrefslogtreecommitdiff
path: root/eg/down
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-08 19:01:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-08 19:01:51 +0000
commit86b00b91adbc06e25e98c02d22e725e1888cb041 (patch)
tree203a2af93e657225e1781d7679d5782867335370 /eg/down
parent50f338d87df77eb836fe2a83fce72fbd3e40e1df (diff)
downloadperl-86b00b91adbc06e25e98c02d22e725e1888cb041.tar.gz
Delete eg as agreed at TPC3 (yes, 3). Dusty, obsolete, non-w-clean.
May be repopulated with fresh maintained examples. p4raw-id: //depot/perl@6556
Diffstat (limited to 'eg/down')
-rwxr-xr-xeg/down30
1 files changed, 0 insertions, 30 deletions
diff --git a/eg/down b/eg/down
deleted file mode 100755
index bbb0d062cb..0000000000
--- a/eg/down
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/perl
-
-$| = 1;
-if ($#ARGV >= 0) {
- $cmd = join(' ',@ARGV);
-}
-else {
- print "Command: ";
- $cmd = <stdin>;
- chop($cmd);
- while ($cmd =~ s/\\$//) {
- print "+ ";
- $cmd .= <stdin>;
- chop($cmd);
- }
-}
-$cwd = `pwd`; chop($cwd);
-
-open(FIND,'find . -type d -print|') || die "Can't run find";
-
-while (<FIND>) {
- chop;
- unless (chdir $_) {
- print stderr "Can't cd to $_\n";
- next;
- }
- print "\t--> ",$_,"\n";
- system $cmd;
- chdir $cwd;
-}