(22)
https://qiita.com/miminashi/items/cf6ef3fd63c12b5fec67
https://genzouw.com/entry/2019/03/06/080354/1087/
echo 00123 | sed -e 's/0*\([0-9]*[0-9]$\)/\1/g'
printf "%04d" 123
(11)
echo 00123 | sed -e 's/0*\([0-9]*[0-9]$\)/\1/g'
printf "%04d" 123
(RL9)
echo 00123 | sed -e 's/0*\([0-9]*[0-9]$\)/\1/g'
printf "%04d" 123
- Windows Server
(2022)
https://magenta-magenta.com/2020/07/06/post-800/
http://www.vwnet.jp/windows/PowerShell/Format.htm
https://tack41tu.hatenablog.com/entry/2019/07/01/135210
([int]"00123").ToString()
"123".PadLeft(5,"0")