From 52bbc710030e0a6015e633cc589aac0228986ad8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 14 Jun 2024 15:14:25 +0200 Subject: Fix printf usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- ffmpeg/resize-and-transcode | 2 +- ffmpeg/resize-and-transcode-recursively | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ffmpeg') diff --git a/ffmpeg/resize-and-transcode b/ffmpeg/resize-and-transcode index a8d2001..2b7b962 100755 --- a/ffmpeg/resize-and-transcode +++ b/ffmpeg/resize-and-transcode @@ -13,7 +13,7 @@ err () { colour="$1" format="$2" shift 2 - printf '\x1b['"${colour}m${format}"'\x1b[m\n' "$@" >&2 + printf '\033['"${colour}m${format}"'\033[m\n' "$@" >&2 } alert () { err "1;31" "$@"; } diff --git a/ffmpeg/resize-and-transcode-recursively b/ffmpeg/resize-and-transcode-recursively index 8a7a207..c420de3 100755 --- a/ffmpeg/resize-and-transcode-recursively +++ b/ffmpeg/resize-and-transcode-recursively @@ -12,7 +12,7 @@ err () { colour="$1" format="$2" shift 2 - printf '\x1b['"${colour}m${format}"'\x1b[m\n' "$@" >&2 + printf '\033['"${colour}m${format}"'\033[m\n' "$@" >&2 } alert () { err "1;31" "$@"; } -- cgit v1.2.3-70-g09d2