mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 06:34:20 +01:00
devtools/credit: ! not ^ to invert the match set in sh.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -25,8 +25,8 @@ NAMER=""
|
||||
BACKUP_NAMER=""
|
||||
TOTAL=0
|
||||
while read LINE; do
|
||||
COUNT=${LINE%% [^ 0123456789]*}
|
||||
TOTAL=$(($TOTAL + $COUNT))
|
||||
COUNT=${LINE%% [! 0123456789]*}
|
||||
TOTAL=$((TOTAL + COUNT))
|
||||
LINE=${LINE#*[1234567890] }
|
||||
NAME=${LINE%%|*}
|
||||
EMAIL=${LINE#*|}
|
||||
|
||||
Reference in New Issue
Block a user