DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
zsh leading zeros
% value=314 % echo ${(l:10::0:)value} 0000000314 % echo $value 314
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#zsh
#leading
#zeros
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit