From 14159245a9794e5b81c3b3a1cd68014f987e0748 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Fri, 21 Apr 2017 15:37:48 +0200 Subject: [PATCH] Add BSD cat support on macOS cat doesn't support the long operator --- bin/git-stamp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/git-stamp b/bin/git-stamp index 84fbd62cf..f03ee9110 100755 --- a/bin/git-stamp +++ b/bin/git-stamp @@ -40,7 +40,7 @@ stamp() { commit_msg=$( echo "${commit_msg}" \ | grep --ignore-case --invert-match "^${ID}\b" \ - | cat --squeeze-blank + | cat -s ) fi @@ -89,4 +89,4 @@ init_variables parse_options "$@" validate_options -stamp \ No newline at end of file +stamp