Use /dev/stdout output in all cases on Darwin.

Pascal J. Bourguignon [2021-02-04 11:59]
Use /dev/stdout output in all cases on Darwin.
Filename
period-cookie
diff --git a/period-cookie b/period-cookie
index afcd665..30b7040 100755
--- a/period-cookie
+++ b/period-cookie
@@ -7,6 +7,8 @@ if [ "$(uname)" = Darwin ] ; then
         # Before 10.4:
         output=/dev/stdout
     fi
+    # in all cases:
+    output=/dev/stdout
 else
     output=/dev/tty
 fi
ViewGit