On Thu, 2013-04-11 at 15:15 -0400, Joe Steele wrote: > On 4/11/2013 12:50 PM, Scott Lair wrote: > > I wasn't having much luck with this so I thought I'd focus on the new > > files search. I have the following line in one of my stats files. > > > > opt/samba/m/ATX/2011/Years/2011/Support201304030936.log 1 13848 NA 0 > > > > when I run > > zgrep -e ' 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz > > > > I get no output. Seems like it should work. I don't know reg exp at > > all. > > > > Agreed -- should work. > > Try a progression of matches and see if there's a place where the > match begins to fail: > > zgrep -e 'opt/samba/m/ATX/2011/Years/2011/Support201304030936.log > 1 13848 NA 0' rdiff-backup-data/blah_blah.gz > > zgrep -e 'opt/samba/m/ATX/2011/Years/2011/Support201304030936.log > 1 13848 NA 0$' rdiff-backup-data/blah_blah.gz > > zgrep -e 'opt/samba/m/ATX/2011/Years/2011/Support201304030936.log > 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz
OK, it fails on the [0-9]+ substitution.... hmmmmm _______________________________________________ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki