我需要将字符串"125959"转换为"12:59:59".
"125959"
"12:59:59"
显然,字符串是时间,所以正则表达式在这里不太好.
linux bash
bash ×1
linux ×1