a=b-c echo ${a/-*}/d