Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Explicitly terminate option list of `printf'

This prevents `printf' from choking on prefixes starting with '-'.
_msg() being a "private" function, this does not really matter, but
when it comes to expression, the more accurate, the better.
  • Loading branch information...
commit 13e9fc85c623c165a2a59630e7a12d6eac84c1c8 1 parent 6600877
lolilolicon authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  ffcast.bash
2  ffcast.bash
@@ -39,7 +39,7 @@ _msg() {
39 39 shift || return 0
40 40 local fmt=$1
41 41 shift || return 0
42   - printf "$prefix$fmt\n" "$@"
  42 + printf -- "$prefix$fmt\n" "$@"
43 43 }
44 44
45 45 debug() {

0 comments on commit 13e9fc8

Please sign in to comment.
Something went wrong with that request. Please try again.