to get first two fields of the splitted string you can profit of autosplit implemented by the -a switch. it fills the special @F array see perlrun
perl -lane 'print "$F[0] $F[1]" if /received/' /var/log/rsync.log
L*
In reply to Re: oneliner question -- oneliner
by Discipulus
in thread one liner question
by natxo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |