Browse Source

fix grep unrecognized option: P

master
Han Dai 2 years ago
parent
commit
31fbb60079
  1. 4
      commit.sh

4
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

Loading…
Cancel
Save