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

Is there any option to make the output 'null' to empty? #45

Open
liangkarl opened this issue Mar 31, 2023 · 0 comments
Open

Is there any option to make the output 'null' to empty? #45

liangkarl opened this issue Mar 31, 2023 · 0 comments

Comments

@liangkarl
Copy link

liangkarl commented Mar 31, 2023

I love this simple tool, but I found out a problem here.
In shell script, the null value matches the string check inconvenient since [ -z $var ] is usually for checking empty string and the null string makes it failed. The solution here is that we need to remove the null string becoming a empty string.
I think maybe jp could add a option to solve this problem as it's really common for writing shell script.
Thanks!

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