Sounds good. If there's a simpler approach using only bash, that would be preferable, yes. :-)