I did a script for Red Hat Linux 8 and it worked perfect then I restarted my computer with KNOPPIX and I tried to run the script and is giving me the following problems:![]()
1) The script doesn't work if I dont add to the first line -xv or just -.
Like that #!/bin/csh doesn't work![]()
Like that #!/bin/csh -vx works, and just with the dash (-) it works too. #!/bin/csh -![]()
Why is happened that? What can i do?
2) When the program get to execute an intruction with the variable $#, it says that this variable doesn't exist.
Should i use another variable to know if there's a parameter passed with the command line?
Thank you for the answers :P


Reply With Quote










