From 31fbb60079166665aee76d008c454461200a2511 Mon Sep 17 00:00:00 2001 From: Han Dai <10000@daihan.me> Date: Sat, 29 Feb 2020 23:39:18 -0500 Subject: [PATCH] fix grep unrecognized option: P --- commit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commit.sh b/commit.sh index ab4f3b2..38fe7ba 100644 --- a/commit.sh +++ b/commit.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # usage ./commit.sh https://username:password@git.domain.tld/username/repo.git git clone $1 target @@ -8,7 +8,7 @@ git config user.email "10000@daihan.me" git config user.name "Han Dai" wget https://gitea.dennx.com/api/v1/users/dennydai/heatmap -O heatmap -heatmap=$(cat heatmap | grep -Po [0-9]+) +heatmap=$(cat heatmap | grep -Eo [0-9]+) mkdir -p history