Hi
i have a problem with an part of a script - it`s not running!!!!
i think the problem is the delivery of a variable !!!..... and i am not able to fix it !!!!
i set an variable with a "grep", and with the result i will define with a find command a new variable
the second variable is zero and not working
in a shell (csh) environment are the command no problem and working
Hi vbe
thank you for your request
architecture linux redhat rl 6
i use a cshell
the snippet is a short part of a shell-script. i set the most variables earlier...
and if i try to print there is no problem......
in the first line i define a variable with the command "egrep......" ......this line is working !!! i proofed it with printing the variable
but the definition of the second variable " abaqus_include_fil_gef" ist not working, because if i try to print variable it is zero!!!!
to add to what @vbe has said about csh.
In general Csh Programming Considered Harmful
Read this link and this as well.
If you still insist on using csh, find out what csh's equivalent to ksh/bashset -v is for debugging.
From man bash:
-v Print shell input lines as they are read.
Honestly I don't think you'll get much "traction" on this forum on the csh-related questions...