Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to replace "watermarks" to nothing from my pdf using sed command to increase text size on my e-reader, but when i try to replace it stays becouse it have | character in the middle. The text i want to replace with nothing is:

  • "Company | exampl3.com"
  • "Page 1" > "Page xxx"

The commands i was trying to use:

pdftk PDF.pdf output PDF_UN.pdf uncompress

sed -i 's/Company | exampl3.com//g' PDF_UN.pdf

When i try to replace some words or/and sentences it works fine and is fast.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.9k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share
...