+ MAC_LYXPIPE_CONTENTS="LYXCMD:macdvix:server-goto-file-row:$file $2"
+ # echo "$MAC_LYXPIPE_CONTENTS"
+ echo "$MAC_LYXPIPE_CONTENTS" > "${LYXPIPE}".in || { echo "Cannot write to lyxpipe." ; exit 2 ; }
+ read < "${LYXPIPE}".out || { echo "Cannot read from lyxpipe." ; exit 2 ; }
+else
+ echo "Our best guess sets lyxpipe as ${LYXPIPE}"
+ echo "But the lyxpipe could not be found."
+ exit 1
+fi