add printf in sh.c