|
From: | Darshit Shah |
Subject: | Re: [Wget-dev] wget2 | Refined commit-check (!375) |
Date: | Fri, 04 May 2018 08:18:48 +0000 |
Darshit Shah started a new discussion on contrib/commit-check: > > AUTHOR=$(git log -n1 --format='%aN') > EMAIL=$(git log -n1 --format='%aE') > -EMAIL_PARSE=$(echo "$EMAIL" | sed 's/@/ \\[at\\] /g') > +EMAIL_PARSE=$(echo "$EMAIL" | sed 's/@/ [at] /g') > +EMAIL_PARSE_PAT=$(echo "$EMAIL_PARSE" | sed 's/\[/\\[/g;s/\]/\\]/g') Why not simply change it to ``` EMAIL_PARSE=$(echo "$EMAIL" | sed 's/@/ \[at\] /g') ``` This gives the same results and is far more readable. --- Reply to this email directly or view it on GitLab: https://gitlab.com/gnuwget/wget2/merge_requests/375#note_71577002 You're receiving this email because of your account on gitlab.com.
[Prev in Thread] | Current Thread | [Next in Thread] |