Skip to content

Commit 672832c

Browse files
committedFeb 20, 2024
updated utils.sh
1 parent 666dd11 commit 672832c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎lib/utils.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,8 @@ is_blank(){
12201220
arg="${arg##[[:space:]]}"
12211221
arg="${arg%%[[:space:]]}"
12221222
[ -z "$arg" ]
1223+
# or
1224+
#[[ "$arg" =~ ^[[:blank:]]*$ ]]
12231225
}
12241226

12251227
not_blank(){

0 commit comments

Comments
 (0)