forked from ungleich-public/cdist
If `regex` begins with an hyphen, `grep` treats it as an option and treats `file` as the regular expression. This leads to `grep` trying to read from the standard input and making it wait infinitely. This patch adds the missing argument breaker `--` and allows `regex` to begin with an hyphen (provided it is called correctly). |
||
|---|---|---|
| .. | ||
| conf | ||
| core | ||
| exec | ||
| sphinxext | ||
| test | ||
| util | ||
| __init__.py | ||
| argparse.py | ||
| autil.py | ||
| banner.py | ||
| config.py | ||
| configuration.py | ||
| emulator.py | ||
| flock.py | ||
| hostsource.py | ||
| install.py | ||
| integration.py | ||
| inventory.py | ||
| log.py | ||
| message.py | ||
| mputil.py | ||
| shell.py | ||