Skip to content

Commit

Permalink
Process entire work folder, including conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane McRetro authored Jul 11, 2022
1 parent ff62ad0 commit bd6596d
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/usr/bin/perl

# Find all files containing a question mark and check if
# this version of the file is really needed, as in: contains
# something different than the same file without a question mark part.
# Find all files containing a question mark and check if this version of the file is really needed, as in:
# contains# something different than the same file without a question mark part.
# This is because in Geocities, most of the URL parameters are
# targeted at Javascripts running in the browser and not at
# server side software. Most Geocities users had no way of running
# server side software apart from the cgi scripts that Geocities
# provided centrally.
#
# perl 008_handle_questionsmarks.pl
#

use feature ':5.14';
use warnings;
Expand All @@ -19,7 +21,8 @@

$| = 1; # turn on autoflush

chdir($ENV{GEO_WORK} . '/geocities');
# Process the entire work folder, including conflicts
chdir($ENV{GEO_WORK} . '/');

find({wanted => \&handle, no_chdir => 1}, '.');

Expand Down

0 comments on commit bd6596d

Please sign in to comment.