We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lpoptions for my printer says:
... printer-make-and-model='Canon MF4800 Series' ...
which gets shortened to:
"ty='Canon"
I changed line 385 to:
printer_make_and_model=$(lpoptions -p "$printer_name" | sed -En "s/.*printer-make-and-model=('([^']*)'|([^[:space:]]*)).*/\2\3/p")
I'll leave it to you since not everyone appreciates my baling-wire approach to regexes.
The text was updated successfully, but these errors were encountered:
@drifkind Thank you! Will update it!
Sorry, something went wrong.
No branches or pull requests
lpoptions for my printer says:
which gets shortened to:
I changed line 385 to:
I'll leave it to you since not everyone appreciates my baling-wire approach to regexes.
The text was updated successfully, but these errors were encountered: