Search Results

Search: Posts Made By: timmyyyyy
Forum: Programming 02-17-2012
7,397
Posted By timmyyyyy
Oh yes, I didn't see that. The solution was...
Oh yes, I didn't see that. The solution was extremely simple, thanks for your clear answer!
Forum: Programming 02-17-2012
7,397
Posted By timmyyyyy
C++ socket, fork & pipes
Hello, I'm stuck and this is a matter which I need to resolve quite fast (but I couldn't post in the "Emergency" section); the problem is this :

I have created a chat program in which the client...
2,191
Posted By timmyyyyy
So this should be correct: N=$[2+i] ...
So this should be correct:


N=$[2+i]
y=echo "${!N}"
Also, about:

N=$[2+i]
Shouldn't it be $[2+$i]?
Thanks
2,191
Posted By timmyyyyy
Thanks for the replies; I'll try the ideas...
Thanks for the replies; I'll try the ideas tonight..
With arrays it's doable (I thought of that too), but it complicates the code since I only need to do it for 2 parameters. I didn't know about...
2,191
Posted By timmyyyyy
Problem with positional variables in BASH
Hello, my problem is simple & I searched a lot but I couldn't find anything about it:

Basically I'd like to pass $i to a variable, $i being the positional variable; but it is unknown in the...
Showing results 1 to 5 of 5

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