in reply to Verifying data change

Yes, "0" is the exit code for success. I'm not sure what else you're asking... can you expand on the problem you''re having (if any?)

Replies are listed 'Best First'.
Re: Re: Verifying data change
by Arien (Pilgrim) on Aug 16, 2002 at 03:17 UTC

    I think he's asking how he can detect the "whole filename changed", although he almost provided the answer: use a pattern describing what you're expecting to see and match the filename against that. If the filename doens't match, it changed beyond your expectations ("the whole filename changed").

    Two nits: you don't need the capturing (to do this, at least) and you'd want to anchor the pattern to the beginning and end of the filename.

    — Arien