47a4d9a339
Change-Id: I1d5a2fe244081a33ebb1741cb4872d43e84c299b Closes-Bug: #1766012
9 lines
175 B
Bash
Executable File
9 lines
175 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# preserve old behavior of using an arg as a regex when '--' is not present
|
|
case $@ in
|
|
(*--*) ostestr $@;;
|
|
('') ostestr;;
|
|
(*) ostestr --regex "$@"
|
|
esac
|