pure-bash-bible icon indicating copy to clipboard operation
pure-bash-bible copied to clipboard

Typo in function date

Open MegaV0lt opened this issue 1 year ago • 1 comments

I think there is an extra '\' in the printf command

date() {
    # Usage: date "format"
    # See: 'man strftime' for format.
    printf "%($1)T\\n" "-1"
}

MegaV0lt avatar Jan 10 '23 07:01 MegaV0lt