Skip to content

[Bug]: complete.sh arithmetic syntax errors on line 568 and 614 #43

@kryptobaseddev

Description

@kryptobaseddev

What happened?

When completing T4431, got: complete.sh: line 568: [[: 1\n0: arithmetic syntax error in expression (error token is "0") and similar on line 614. Completion succeeded but these errors indicate a bug in the arithmetic conditional logic. Likely a multi-digit child count being split incorrectly.

Are you using an AI agent?

Yes - AI agent filed this issue


Environment

Component Version
CLEO 0.95.4
Bash 5.3.0(1)-release
jq jq-1.8.1
OS Linux 6.18.8-200.fc43.x86_64 x86_64
Shell bash
gh CLI gh version 2.86.0 (2026-01-21)
Install /home/keatonhoskins/.local/bin/cleo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage and prioritization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions