#!/bin/sh## Open a new finder window in the cwd#CWD=`pwd`osascript<<ENDset thePath to "$CWD"set myPath to (POSIX file thePath as alias)try tell application "Finder" activate open myPath end tellend tryEND