Ask Your Question
0

convert-to suppress message

asked 2019-02-26 13:26:06 +0200

I have a script that converts a document to text, and runs grep on that.

Is there a way to suppress the message "convert file.odt -> file.txt using filter : Text"? I have tried redirecting stdout and stderr to /dev/null, but that doesn't seem to work.

edit retag flag offensive close merge delete

Comments

converts a document to text, and runs grep on that

something like --cat command line parameter?

I have tried redirecting stdout and stderr to /dev/null, but that doesn't seem to work.

It should work - but the generic "that doesn't seem to work" tells nothing about what you experience. Also you didn't mention your OS, your LO version, script language, and other possibly relevant information.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-26 13:28:01 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-02-26 13:40:32 +0200

"Doesn't seem to work" implies that the text is still printed. Devuan Linux Beowulf, LibreOffice 6.1.5.2, script language is irrelevant, since I tried to run LibreOffice directly from the command line.

But the "--cat" option seems to be what I want.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-02-26 13:26:06 +0200

Seen: 15 times

Last updated: Feb 26