1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-19 05:47:19 +00:00

Maiko sources matching state as of 020102 prior to initial patching for Mac OSX

This commit is contained in:
Nick Briggs
2015-04-20 18:53:52 -07:00
commit de170a64d9
427 changed files with 129342 additions and 0 deletions

38
bin/fixid~ Executable file
View File

@@ -0,0 +1,38 @@
#!/usr/local/bin/perl
$file = shift;
chomp $file;
printf "File is %s.\n", $file;
open IN, "<" . $file;
open OUT, ">".$file.".new";
$line = <IN>;
printf OUT "%s", $line;
$line = <IN>;
printf OUT "%s", $line;
$line = <IN>;
while ( $line )
{
if ( $line =~ /\(#\)/ )
{
printf "Omitting line: %s", $line;
}
else
{
printf OUT "%s", $line;
}
$line = <IN>;
}
close IN;
close OUT;
`mv $file $file.orig`;
`mv $file.new $file`;