I sometimes want to make a quick scan of my current directory, so I put the following (single) line into my .cshrc file:
alias vsc 'pwd > /usr/local/vscanx/thisdir; pushd[As noted, this is one line, not three - enter it on one row with a space replacing the carriage returns on each row.]
/usr/local/vscanx/; ./vscanx --config config1
--verbose --file thisdir; popd'
Mac OS X Hints
http://hints.macworld.com/article.php?story=20021015063450144