#!/bin/sh /Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to pdf "$1"