"date +%j" returns 001-365, which causes Shell to treat leading zeros as
octal prefix. Using "date +%-j" will remove the leading zeros.
parent
9ffa1a94
Please register or sign in to comment
octal prefix. Using "date +%-j" will remove the leading zeros.