Search Results

Search: Posts Made By: tolkki
2,956
Posted By tolkki
message queues
#include <sys/ipc.h>
#include <sys/msg.h>

int main()
{
int qid;
int t;
struct msgbuf mesg;
qid=msgget(IPC_PRIVATE,IPC_CREAT);
mesg.mtype=1L;
mesg.mtext[0]=1;
t=msgsnd(qid,&mesg,1,0);...
Forum: Programming 08-24-2008
15,453
Posted By tolkki
thanks it helped a lot!!:) Actually,I have...
thanks it helped a lot!!:)
Actually,I have another prob right now...
i am trying to make the command cat <filename> | wc -l

well,there seems to be a problem in the reading of the last line from...
Forum: Programming 08-23-2008
15,453
Posted By tolkki
client /server pipes
here is the concept:

the client reads a pathname from the standard input and writes it to pipe1.The server reads this pathname from the pipe1 and tries to open the file for reading.If the server...
1,691
Posted By tolkki
cut command
i have the following line

set line=abc d efg h^ijklmno

and then i say:

echo $line | cut -d^ -f1

i want to receive this:

abc d efg h

instead i receive this:

abc
d
efg
h
...
3,002
Posted By tolkki
email file
hi ! i have a file tha contains some e-mail addresses like this:

abc@...
def@...
ghi@...

i want to send the same email to all these contacts
so i want a string addresses =" abc@... def@......
4,267
Posted By tolkki
thanks a lot!
thanks a lot!
4,267
Posted By tolkki
deleting file content
hallo..i work in c-shell and i want to delete the content of a file without deleting the file itself...commands like
>filename or
echo -n > filename
didn't work....thanks in advance
Showing results 1 to 7 of 7

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