and certainly won't seem transparent.)
##Write a wrapper shell script##
+
+/!\ From reading about `notmuch show --format=raw` in the 0.5 (2010-11-11)
+release's *New command-line features* section of the `NEWS` file, it appears to
+me that step *2.* is no longer needed, and this whole procedure can be
+simplified a lot. But I haven't tested / confirmed this yet.
+
Now we will need to write a simple shell script that does two things:
1. replaces the call to the notmuch binary with a call to notmuch
notmuch_run ()
{
if [ $1 = "search" ]; then
- $SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN $@ | while read line; do
+ $SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN $@ | while read line; do
sleep 0.1
echo "${line}"
done
using this approach and run into any problems, please feel free to
list them here. And, of course, if you improve on any of these
approaches, please do edit this page and let people know!
-
-
-
-
-
-
-
-
-
-
-
-