Make pdfutils work with osx
Hi there!
i’m trying to make the script works on osx.
It seems that the test in the rgb2cymk
is broken as it uses ==
From what i got from https://www.shellscript.sh/test.html:
Note: Some shells also accept
==
for string comparison; this is not portable, a single=
should be used for strings, or-eq
for integers.
So i changed it to =
on line 19 and things are better
Thanks for sharing this amazing tool, pretty useful in pagedjs world :)