bash substr is added