Fix whitespace

This commit is contained in:
Dennis Eichhorn 2018-09-30 00:30:36 +02:00
parent bf1d510eba
commit e1eaed341d

View File

@ -1,6 +1,6 @@
#!/bin/bash
strindex() {
strindex() {
x="${1%%$2*}"
[[ "$x" = "$1" ]] && echo -1 || echo "${#x}"
}