-
unix and scripting
say I have a folder main and inside main I have a folder called test 1, a script is in the folder test1 and test1.csh takes a file called x which is in the folder main.. how can I access the script so that it can access x from main without having to copy x inside the directory test1?
-
test1.csh ../../x
And "ewww to csh"
-
And "ewww to csh", what do you mean?
-
and do I do this from the folder test1? what if I want to access test1.csh from the folder main? so therefore I don't have to specify where x is
-
C shell is not for everyone, perhaps that's what Salem was getting at ;)
Tried bash? (http://en.wikipedia.org/wiki/Compari...omputer_shells)
-
Horrid memories and this -> http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
Yes, sooner or later, csh weirdness will bite you.
> and do I do this from the folder test1?
It's all relative
cd test
./test1/test1.csh ../x