Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Sorry mistake in the code' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sorry mistake in the code
Authored by: Miga on Dec 12, '02 09:16:55AM

You should use:

open -a 'Navigator' `echo %s | sed 's;
^file:///Library/WebServer/Documents/\(.*\)$;
http://www.yourdomain.com/\1;'`

instead of:
open -a 'Navigator' `echo %s | sed 's;
^Library/WebServer/Documents/\(.*\)$;
http://www.yourdomain.com/\1;'`

Just missed file:///

Sorry, sorry



[ Reply to This | # ]