-
Notifications
You must be signed in to change notification settings - Fork 2
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
sed: -i may not be used with stdin #1
Comments
You need to escape the "/" in the search date string, e.g. do this:
'23\/12\/2019' (but not '10/08/2020').On 14/09/2020 13:22, Rafael
Toledano Illán wrote:
… Hi there! Getting this issue
|Checking environment... Checking 512609936777170.pdf...
512609936777170.pdf is a PDF file... Uncompressing
512609936777170.pdf... Replacing '23/12/2019' with '10/08/2020' in
512609936777170.pdf... sed: -i may not be used with stdin
Re-Compressing 512609936777170.pdf... Duration (h:m:s): 00:00:00, done|
Any input on how to solve it?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFTKCXMR4BBK5JM5CSEL53SFYDINANCNFSM4RLRCNWQ>.
|
Thanks for your fast response. Unfortunately I get the same result. I tried with different strings (without any weird character, so to say) and I always get |
PDF does some rather strange things to strings that look like dates.
There is no documentation for this phenomenon, and the way that PDF
internally mangles date strings up is so indeterminate that there is not
even a dirty work-around available.
…On 14/09/2020 14:32, Rafael Toledano Illán wrote:
Thanks for your fast response. Unfortunately I get the same result. I
tried with different strings (without any weird character, so to say)
and I always get |sed: -i may not be used with stdin|, and then an
"unmodified" PDF file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFTKCX2T5ALZPFMW3VYHVTSFYLPFANCNFSM4RLRCNWQ>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there! Getting this issue
Checking environment... Checking 512609936777170.pdf... 512609936777170.pdf is a PDF file... Uncompressing 512609936777170.pdf... Replacing '23/12/2019' with '10/08/2020' in 512609936777170.pdf... sed: -i may not be used with stdin Re-Compressing 512609936777170.pdf... Duration (h:m:s): 00:00:00, done
Any input on how to solve it?
Thank you.
The text was updated successfully, but these errors were encountered: