Search Results

Search: Posts Made By: mohy
1,512
Posted By mohy
Processing text variables that have numbers in CShell
Hello,

I have a case where I need to process an environment variable text value in CShell to calculate the product of 2 numbers stated in the variable string having the format...
8,826
Posted By mohy
Max number of environment variables in Csh
Anyone knows what is the max limit of number of environment variables in Csh? I have a script that when run causes the shell to stop responding to any command like:


ls
/bin/ls: Argument list...
16,592
Posted By mohy
Thanks, that perfectly worked fine :b:
Thanks, that perfectly worked fine :b:
16,592
Posted By mohy
Thanks alot ygemici and chirel, I've tried this...
Thanks alot ygemici and chirel, I've tried this already; using / and " and using them together.. all works in the foreach statement :) but my real problem is that I need to define a list and use it...
16,592
Posted By mohy
Thanks, but no way for doing the same in csh?
Thanks, but no way for doing the same in csh?
16,592
Posted By mohy
Escaping square brackets when defining a Csh list
Hi All,

I was trying to define a Csh list where one string item contains square brackets, I escaped them as follows in order not to get "No match" error:


set LIST = {a,b\[2\],c,d}
foreach...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 06:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy