I have a command line argument that I need to convert into a shell script. Can someone explain me how to this?
If it is something simple like below, also, how to take care of lower and upper cases here?
cat * |perl -ne '{chomp; print "$_\n" if ($_=~ /MAR-|-MAR/|/JAN-|-JAN/|/FEB-|-FEB/|/APR-|-APR/|/MAY-|-MAY/|/JUN-|-JUN/|/JUL-|-JUL/|/AUG-|-AUG/|/SEPT-|-SEPT/|/OCT-|-OCT/|/NOV-|-NOV/|/DEC-|-DEC/|/dec-|-dec/|/Aug-|-Aug/|/Jan-|-Jan/|/Sept-|-Sept/)|/Feb-|-Feb/|/Mar-|-Mar/|/Apr-|-Apr/|/May-|-May/|/Jun-|-Jun/|/Jul-|-Jul/|/Oct-|-Oct/|/Nov-|-Nov/}'|more