9 lines
99 B
Bash
Executable File
9 lines
99 B
Bash
Executable File
#!/bin/sh
|
|
|
|
line='/foo/bar/*/baz'
|
|
if [ "/foo/bar/" != ${line%%\**}"" ]
|
|
then
|
|
echo broken
|
|
exit 1
|
|
fi
|