Sample Header Ad - 728x90

Is it possible to feed Open Office via STDIN?

9 votes
7 answers
4788 views
I have an Open Office Spreadsheet document stored inside a bash variable. I want to do something like the following to feed Open Office via STDIN: echo "$openOfficeDoc" | ooffice But it doesn't work. *Note:* The content of the bash variable must not be written to disk. I'll emphasize that I'm trying to pass to Open Office the actual data of the file. I'm trying to store passwords in an Open Office Spreadsheet file. The passwords are encrypted using GPG. I don't want the passwords to be written to disk for security reasons. The bash variable value is a binary blob of an Open Office Spreadsheet document. It is **not** ASCII. The bash code I used to create the blob is: data=$(cat "Encrypted.gpg" | gpg -u "Dor" -d) While Encrypted.gpg is an encrypted file of an Open Office Spreadsheet. Is it possible to feed Open Office via STDIN?
Asked by Dor (2635 rep)
Sep 17, 2013, 05:22 PM
Last activity: Dec 3, 2018, 09:43 AM