glob/grep show "1 matches" instead of "1 match" #8198

Closed
opened 2026-02-16 18:09:24 -05:00 by yindo · 0 comments
Owner

Originally created by @adamjhf on GitHub (Jan 31, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When glob/grep tools have only one match, they use incorrect grammar "1 matches" instead of "1 match".

Plugins

No response

OpenCode version

1.1.47

Steps to reproduce

Ask opencode to run a glob or grep that will match only 1 result.

Screenshot and/or share link

Image

Operating System

macOS 26.2

Terminal

Ghostty

Originally created by @adamjhf on GitHub (Jan 31, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When glob/grep tools have only one match, they use incorrect grammar "1 matches" instead of "1 match". ### Plugins _No response_ ### OpenCode version 1.1.47 ### Steps to reproduce Ask opencode to run a glob or grep that will match only 1 result. ### Screenshot and/or share link <img width="351" height="539" alt="Image" src="https://github.com/user-attachments/assets/7d64fdc6-16cf-4532-ba89-ed1360753c8b" /> ### Operating System macOS 26.2 ### Terminal Ghostty
yindo added the bug label 2026-02-16 18:09:24 -05:00
yindo closed this issue 2026-02-16 18:09:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8198