bluedragon2
IS-IT--Management
I have a line in my perl script that tails a file and the output is part of a web page being generated. The problem I am having is that the output is in a continous line.
The syntax is:
system "tail -20 /File.txt";
the output is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
I need the output to be:
1
2
.
.
20
Any suggestions?
Thanks
Blue
If I wasn't Blue, I would just be a Dragon...
The syntax is:
system "tail -20 /File.txt";
the output is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
I need the output to be:
1
2
.
.
20
Any suggestions?
Thanks
Blue
If I wasn't Blue, I would just be a Dragon...