You may be confusing that %d with printf syntax. I'm not entirely sure, but I think what the percent sign means is delete everything from the end of string until the first occurence of letter "d"
this post was submitted on 07 Oct 2024
1 points (100.0% liked)
Bash
720 readers
1 users here now
Talk about the Bash Shell and Bash scripting
founded 4 years ago
MODERATORS