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

Escaped colons in getent output aren't handle correctly. #1

Open
deryni opened this issue Mar 16, 2016 · 0 comments
Open

Escaped colons in getent output aren't handle correctly. #1

deryni opened this issue Mar 16, 2016 · 0 comments

Comments

@deryni
Copy link
Owner

deryni commented Mar 16, 2016

Quoting Charles Duffy here:

Backslashes can actually be used inside getent output when there's a literal :, so the lack of a -r argument to read here (which would turn off its usually-undesired backslash processing) is intentional; it ensures that IFS characters that are intended to be literal rather than field separators are parsed as such.

So the -r argument to read in the getent call is possibly incorrect.

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