format lineno as string for clint