awk one liner example rbd list volumes|awk '{printf("rbd feature enable volumes/%s journaling\n",$1)}'