... foreach my $item (@cqafiles) { my $status_line = `grep '^CQA_STATUS' $item`; print FILE "$status_line\n"; } close(FILE) || die "can't close$cqapath/CQA_STATUS after writing\n +";
In reply to Re: extract a single line from multiple files in a folder.
by bfdi533
in thread extract a single line from multiple files in a folder.
by august3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |