brc: shell[] needs *2* in length; shell[1]='\0'
brc: properly set target_section's length