I am looking at doing and getting better with oneliners from the command line. I am trying to do the following for a 'cat' like replacement.
perl -pe 'print' dataoutput.txt
However, it prints out each lines twice, which is in the same order as in the file. What am I doing wrong? In addition, I did noticed the following works, but puts a new line between each output
perl -pe 'print "\n"' dataoutput.txt
But that is not what I want as well. This is to understand and learn the concepts of oneliners and get better with Perl