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

Problem with "-" as separator #6

Closed
maitrid opened this issue May 15, 2017 · 3 comments
Closed

Problem with "-" as separator #6

maitrid opened this issue May 15, 2017 · 3 comments
Labels

Comments

@maitrid
Copy link

maitrid commented May 15, 2017

It seems when "-" is specified as the separator, the result is not limited to "-". I see "-", "_", "+" and "#". (BTW, sorry the wrong subject and description was written here a moment ago)

@maitrid maitrid changed the title Patterns and separators don't co-exist Problem with "-" as separator May 15, 2017
@vot
Copy link
Owner

vot commented May 15, 2017

Hi maitrid,

Thanks for raising the issue. What is the syntax you're using?

I just checked what results I get for xkpasswd -s=- (using an equals sign specifically rather than a space) and it produces the desired effects on my machine.

Update: I added a note to readme about using the equals sign in that case. This is due to the way arguments are parsed - I'll look into how this can be dealt with (that parsing is done by my other module, clarg).

Let me know if this is a reasonable solution to your problem.
Cheers

@vot vot added the bug label Jul 17, 2017
@maitrid
Copy link
Author

maitrid commented Sep 19, 2017

Sorry, @vot ! i strayed away quickly due to my tight project schedule. Thank you so much for the answer!

@vot
Copy link
Owner

vot commented Nov 26, 2021

Closing the issue as there is a usable workaround... and it's been 4 years :D

@vot vot closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants