read it into a variable or array and reverse that. For example in perl:
#!/usr/bin/perl -w
use strict;
# first read text file
open IN,'test.txt';
my @lines = <IN>;
close IN;
# reverse the order of our array and loop through
for (reverse @lines) {
# reverse the characters in the line
# reverse expects a LIST so we split $_ first
print reverse split //,$_ ;
}
--
Don't Stand on your head - you'll get footprints in your hair
http://charlieharvey.org.uk
http://charlieharvey.com