shell used to replace empty columns in indexes