I was bored so I decided to alphabetize my music and movies on myspace(haha). But instead of alphabetizing the data by hand I wrote a perl script to do it for me.
#!/usr/bin/perl -s
#this will alphabetize strings
die "Usage: $0 [infile] [outfile]\n" unless $#ARGV >=0;
@strings;
open (INFILE, $ARGV[0]) or die "Usage: $0 [infile] [outfile]\n";
(
Read more... )