So as you know I've dabbled with shell scripting, trying to make an install script for GM, where you'd hide all of your images, sound, and random files in the application support folder.
I can understand all of it up to the point of locating the files. I found the means, by copying from Russians
(I'm not kidding) the way we won the space race
(still not kidding.)
#!/bin/sh
cd `echo "$0"|cut -d "/" -f1-3`
My question is
HOW IN THE SEVEN HELLS DOES THAT EVEN WORK!!!