wrap in bash