Revision: 3126
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3126&view=rev
Author:   hofman
Date:     2007-11-02 03:54:04 -0700 (Fri, 02 Nov 2007)

Log Message:
-----------
Set shell option to interpret escapes in echo rather than passing -e option. 
Hopefully fixes problems in Leopard.

Modified Paths:
--------------
    trunk/displayline

Modified: trunk/displayline
===================================================================
--- trunk/displayline   2007-11-01 18:04:15 UTC (rev 3125)
+++ trunk/displayline   2007-11-02 10:54:04 UTC (rev 3126)
@@ -21,7 +21,8 @@
 
 # pass arguments as NULL-separated string to osascript
 # pass through cat to get them as raw bytes to preserve non-ASCII characters
-echo -ne "${line}\x00${file}\x00${source}" | \
+shopt -s xpg_echo
+echo -n "${line}\x00${file}\x00${source}" | \
 /usr/bin/osascript \
   -e "set theArgv to do shell script \"/bin/cat\"" \
   -e "set AppleScript's text item delimiters to ASCII character 0" \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to