eth-p / eth-p/bat-extras

awk errors when running `build.sh`

Open
#33 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
1.6k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

So I downloaded bat-extras by cloning into my home directory. Afterwards, I ran `./build.sh` without any options (and not having `shfmt`)

I got the following error messages:

```
Verifying scripts...
Submodule 'best' (https://github.com/eth-p/best.git) registered for path '.test-framework'
Cloning into '/home/pepoluan/Downloads/bat-extras/.test-framework'...
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
awk: line 12: regular expression compile failed (missing operand)
^( |\t)()(description|snapshot).*
Verified successfully.
```

The 'built' files do appear in the `bin/` directory, and a quick test of them seems to indicate they all working as expected.

Is this normal?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.