fixed shell pattern match