The below Perl code will give you similar results compared to the Linux ‘cat’ utility. At the command prompt, just enter “perl [scriptname] [filename1] [filename2] etc …
Perl – Writing the Linux ‘cat’ Utility
This entry was posted in Perl, Programming Languages, Technology and tagged cat utility, linux cat, linux cat utility, perl, perl command line argument, perl command line arguments, perl print file content. Bookmark the permalink.