[PATCH v3 4/6] cmd: setexpr: add format string handling