240facf9e6
Co-Authored-By: Kevin Benton <blak111@gmail.com> Change-Id: Ie9969e0a5254ab5dd33b287f6d3120362b73edd7 Closes-bug: #1490389
9 lines
169 B
Bash
Executable File
9 lines
169 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
|