#Look only at the summary lines where $x[???] contains '560' while () { @x=split /,|`/; next unless ($x[???] =~ /560/); #we only want the files with 560 unless($x[16] =~ /Primary User Name: CISERFS1/) { #dont want the details from the sytem