Yeah you are right @glebm, I'd like to have this in bash for now.