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

Unable to do replacements that contain # in the pattern #26

Open
celestefox opened this issue Jul 9, 2016 · 1 comment
Open

Unable to do replacements that contain # in the pattern #26

celestefox opened this issue Jul 9, 2016 · 1 comment

Comments

@celestefox
Copy link

due to using read -r, you can't do a replacement that has a # in the pattern, because read just recognises the # as the delimiter and you can't escape it because of the use of -r. In my case, this matters because mozc-ut has commented out variables that you are supposed to uncomment to enable features the package can provide, and I would prefer for that process to be automatic. removing the -r would probably fix this for this case, but has a chance of ruining other people's customizations, so I'm not entirely sure what to do.

@celestefox
Copy link
Author

celestefox commented Jul 9, 2016

For the record, applying this simple patch fixes this problem, but likely causes others: https://paste.noname-ev.de/8266
EDIT: apparently that decided to mess my patch, so try this I guess, or just add the @@ at the start of the third line: https://transfer.sh/H1UeM/customizepkg.diff

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