Skip to content
Permalink
Browse files

Fix sed RE for mac os x

  • Loading branch information...
lauft committed Mar 2, 2019
1 parent 428d377 commit 29d54086f48799529fe5dd00a09aca992673084c
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/timemachine
@@ -16,7 +16,7 @@ function random_minute()
{
case "${OSTYPE}" in
darwin*)
echo "0$( jot -r 1 0 59 )" | sed "s|.\+\(..\)\$|\1|g"
echo "0$( jot -r 1 0 59 )" | sed -E "s|.+(..)|\1|g"
;;
*)
echo "0$( rand -M 60 )" | sed "s|.\+\(..\)\$|\1|g"

0 comments on commit 29d5408

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.