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

Test if a binary is available #89

Open
lgarron opened this issue Jun 25, 2023 · 0 comments
Open

Test if a binary is available #89

lgarron opened this issue Jun 25, 2023 · 0 comments

Comments

@lgarron
Copy link

lgarron commented Jun 25, 2023

Ahoy there!

I'm eager to find a way to avoid authoring raw bash by hand, and I came across Batsh. The first thingI tried was to try portinga script that tests whether a certain command is available in $PATH. I can't find a way to do this directly in Batsh, or even indirectly using a status code. Is there a way?

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