Quote:
Originally Posted by yowi
put it in ~/.tcshrc???
|
Nope, it will not work. '.cshrc' or '.tcshrc' make NO difference.
For example, let suppose, the user will launch the following scrip from /aaa/bbb/cccc. The sript will NOT create the test_file in the current working directory. The file will be created in /proj/$USER, which does not make sense... it is not intuitive.
-------------------------------
#!/bin/tcsh
echo "Hello World" > test_file
exit
--------------------------------
Yes, I know, #!/bin/tcsh -f can solve the problem. My users wrote a lot of scripts already without a switch -f so, most of them will not work correctly anymore