-
Notifications
You must be signed in to change notification settings - Fork 51
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
Commands should accept empty string ("") inputs #47
Comments
ya i'm been bashing my head around this back and forth if its something that should be valid or not... i can say that in the dev branch (didn't push yet) i'm doing massive changes so there won't be errors in such cases and to support spread binding (variable that is converted to multiple arguments) but empty value is something that i'm trying to think if its really good or back. the only way i can think of 'keeping' it is if its wrapped with " characters |
you know what, since it is bugging me as well... i guess it is ok to set it as empty arg. pushing a fix. thanks a lot for the feedback. |
release a new version with this change |
Thanks for all the work. I'm experimenting with putting together a Makefile.toml for coreutils to more easily build cross-platform. I've got a basic build working but need to be able to compare to empty strings for more complex platform support. And next, I'll need to read data from I haven't had the time to do more than experiment with the capabilities at the moment, But I might try to donate some time to understand the code and expand the capabilities along those lines in the near future. Again, thanks for your current hard work. |
thanks a lot for the feedback. |
Describe the bug
Empty values (""), which can be valid values, are dropped by commands.
This causes lots of headaches, ie
eq "" $value
is an error, arrays can't have empty values, etc.The text was updated successfully, but these errors were encountered: