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

non-zero exit codes on syntax error and newlines #3

Closed
adrelanos opened this issue Jul 8, 2019 · 1 comment
Closed

non-zero exit codes on syntax error and newlines #3

adrelanos opened this issue Jul 8, 2019 · 1 comment

Comments

@adrelanos
Copy link

How to reproduce:

str_replace.pl a

Actual result:

Usage: str_replace Search Replace File
Or: STDIN str_replace Search Replace$

No new line at the end. (The $ is my shell prompt.) Exit code is 0.


Expected result:

Usage: str_replace Search Replace File
Or: STDIN str_replace Search Replace

Non-zero exit code such as 1.

@Samer-Al-iraqi
Copy link
Owner

fixed!

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

2 participants