Skip to content

Instantly share code, notes, and snippets.

View NGTOne's full-sized avatar

Sebastian Lenartowicz NGTOne

View GitHub Profile
@NGTOne
NGTOne / fix_craft.pl
Last active August 29, 2015 14:21
A script to indicate issues with .craft files
#!/usr/local/bin/perl
use strict;
use warnings;
open(my $fh, '<:encoding(UTF-8)', $ARGV[0])
or die "Could not open craft file $ARGV[0]";
my (@parts, @links, @line);
my $index = 0;