Closed leflamm closed 7 years ago
note to self
#!/bin/bash ARGS="${@}" egrep -q "^[^-]*$|\s[^-]*$" <<< $ARGS echo $? echo command passed was: $(egrep -o "^[^-]*$|\s[^-]*$" <<< $ARGS)
note to self