if the search pattern is found in TRC_20160309_1.ARC. grep -l 'TCO' *.ARC I want to move both TRC_20160309_1.ARC and TRC_20160309_1.PDF since the name is similar. I know perl can do this but am really lost. Thanks in advance.ls -ltr TRC_20160309_1.ARC TRC_20160309_1.PDF TRC_20160308_1.PDF
In reply to perl file processing by Drsin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |