Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at grep command when using otp script #1454

Open
ttasc opened this issue Feb 20, 2025 · 0 comments
Open

Stuck at grep command when using otp script #1454

ttasc opened this issue Feb 20, 2025 · 0 comments

Comments

@ttasc
Copy link

ttasc commented Feb 20, 2025

OS: Arch
Script: otp
I get this error and completely stuck in dmenu:

grep: Invalid range end

I know the script is stuck on this line:

echo "$name" | grep -q -- "^[A-z0-9-]\+$" && break

I don't know what's wrong with my system. If it's not a problem with the script itself, please give me some suggestions to avoid this error. Thanks a lot everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant