Skip to content

Commit 924e829

Browse files
author
xero
committed
more unixy
1 parent b4f2686 commit 924e829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ optstest() {
4343
found=0
4444
for arg in "$@"
4545
do
46-
if echo $arg | awk -F/ '{print $3}' | grep -Eq "github.com"
46+
if echo $arg | cut -d/ -f3 | grep -Eq "github.com"
4747
then
4848
GHURL=$arg
4949
found=1

0 commit comments

Comments
 (0)