You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
repush.sh - line 552: unexpected EOF while looking for matching `"' #14
I could rant for hours about the fragmentation of Unix tools at this point... but plenty of other people have done that for me already.
This once again seems to be a compatibility issue between Mac and GNU tools.
Since I do not own a MacOS machine and It could take a little while until I get a MacOS VM set up, you'll have to lend me your hand here.
Would you mind telling me whether this script produces a epub placeholder in /tmp (on your PC, not the remarkable)? If it doesn't, please paste the error here.
SIgh indeed.. It is a Mac /GNU compatability issue. The script returns same error with Mac. Using gnu bash from macports port install bash works around the problem, so I suppose this is a low priority issue.
My workaround on macos was a bit different as I was hesitant to install a new bash onto my machine. However I will be able to use this for PDFs so am happy.
remove the placeholder EPUB function. I will only be able to transfer pdfs.
my grep does not have -P for perl. thus I also searched the file for -qP and commented-out
possibly related: I can only send files that are .pdf, not .PDF.
if I send a .PDF file, a blank pdf is created in the root directory on reMarkable with the lower-case filename, and the script seems caught in an infinite loop.
Activity
CTXz commentedon May 30, 2019
Sight...
I could rant for hours about the fragmentation of Unix tools at this point... but plenty of other people have done that for me already.
This once again seems to be a compatibility issue between Mac and GNU tools.
Since I do not own a MacOS machine and It could take a little while until I get a MacOS VM set up, you'll have to lend me your hand here.
Would you mind telling me whether this script produces a epub placeholder in
/tmp(on your PC, not the remarkable)? If it doesn't, please paste the error here.Thanks
DblA commentedon May 30, 2019
SIgh indeed.. It is a Mac /GNU compatability issue. The script returns same error with Mac. Using gnu bash from macports
port install bashworks around the problem, so I suppose this is a low priority issue.karenerobinson commentedon Jan 6, 2020
Fantastic script!
My workaround on macos was a bit different as I was hesitant to install a new bash onto my machine. However I will be able to use this for PDFs so am happy.
-qPand commented-outpossibly related: I can only send files that are .pdf, not .PDF.
if I send a .PDF file, a blank pdf is created in the root directory on reMarkable with the lower-case filename, and the script seems caught in an infinite loop.
karenerobinson commentedon Jan 14, 2020
btw I run into this using webui_invincibility.sh as well
Portable way of using heredocs. Fixes reHackable#14 on macOS.
Merge pull request #27 from shreevatsa/master