#!/usr/bin/perl use strict; use warnings; open(my $fh, ">>Arcology.rss") or die "File:$!"; my $i = 0; while($i < $#ARGV+1){ print $fh "\t\t\n"; print $fh "\t\t\t $ARGV[$i] \n"; print $fh "\t\t\t $ARGV[$i] \n"; print $fh "\t\t\thttp://offsite.obscuritus.ca/Arcology/$ARGV[$i]\n"; print $fh "\t\t\thttp://offsite.obscuritus.ca/Arcology/$ARGV[$i]\n"; my $length = `ls -l $ARGV[$i] |cut -d ' ' -f 5`; chomp($length); print $fh "\t\t\t\n"; $i++; print $fh "\t\t\n"; } print $fh "\t\n"; print $fh "";