Hi All,
I want to concatenate the array cell values and form a string.. Is it possible?
for ex.
I have an array
word_array contains d u m b and after concatenating the string shld be 'dumb'
thanks (2 Replies)
Friends,
I have to execute a command and store its contents into an array using shell. this is what i have tried
#!/bin/bash
disk_names = ($(`iostat -xtc | egrep -v "device|nfs" | awk '{print $1}'| tr '\n' ' ' `))
But its throwing an error message as
./test-script
./test-script:... (6 Replies)
I am reading a number of files but then I want to put the ranges
xmin xmax ymin ymax
as arrays for each file.
Any idea how I can do this???
set j = 1
echo "Welcome $i times"
while ( $j <= $i )
echo "$j"
set fname = $fin-bst-misf.xy
echo " "$fname
... (0 Replies)
I have the following csh script which lets the use pass the following as an argument
-legend=tag1/tag2/tag3/tag4/tag5/tag6/tag7
We pass a number of tags separated by '/'. I want to save the legend tags in an array and have done as below. How can I improve on this as things are getting quite... (3 Replies)
I have requirement where I need to capture the highest values of
items from a feed that runs for N hours.
For example lets assume my data looks like this
first feed
========
appples 10
oranges 20
pears 14
second feed
==========
apples 5
oranges 30
pears 1
Last feed... (6 Replies)
Hi
I have redc containing the values 3, 6, 2, 8, and 1.
I have work containing the values 8, 2, 11, 7, and 9.
Is there a way to find the sum of redc and work?
I need to compare the sum of those two arrays to something else, so is it okay to put that into my END?
TY! (4 Replies)
Hi all,
We have requirement to generate load timing based on subject areas HOUSEHOLD, BANKING and TRADING. These values are stored in an array SUB_ARR
SUB_ARR=("HOUSEHOLD" "BANKING" "TRADING")
Based on indicator files produced while processing data for each type, we need to get the stats (using... (2 Replies)
Hi all,
In ksh, I'm trying to loop through all of my arrays, named array1, array2, array3..., and update the indices. But I'm getting errors and I'm not sure how to fix them. The errors are
./parse.sh: 6+1: not found
The code is:
eval \${array$c}=$(eval \${array$c}+1 )
Any help... (12 Replies)
I have 2 arrays of values for example
A1 ={10 15 3 21}
A2 ={10 15 3 22}
I need to check which one has greater values. However:
A1 ={10 15 3 21}
A2 ={10 15 3 21 3} - this one would be greater.
A1 ={10 15 5 21} - this one greater
A2 ={10 15 3 21}
Basically, I want to compare patch... (6 Replies)
Dear folks
I have a map file of around 54K lines and some of the values in the second column have the same value and I want to find them and delete all of the same values. I looked over duplicate commands but my case is not to keep one of the duplicate values. I want to remove all of the same... (4 Replies)
Discussion started by: sajmar
4 Replies
LEARN ABOUT DEBIAN
exosip2_notify
eXosip2 SUBSCRIBE and incoming subscriptions(3) libeXosip2 eXosip2 SUBSCRIBE and incoming subscriptions(3)NAME
eXosip2 SUBSCRIBE and incoming subscriptions -
Functions
int eXosip_insubscription_build_answer (int tid, int status, osip_message_t **answer)
int eXosip_insubscription_send_answer (int tid, int status, osip_message_t *answer)
int eXosip_insubscription_build_request (int did, const char *method, osip_message_t **request)
int eXosip_insubscription_build_notify (int did, int subscription_status, int subscription_reason, osip_message_t **request)
int eXosip_insubscription_send_request (int did, osip_message_t *request)
int eXosip_insubscription_remove (int did)
Detailed DescriptionFunction Documentation
int eXosip_insubscription_build_answer (inttid, intstatus, osip_message_t **answer)
Build answer for an SUBSCRIBE request.
Parameters:
tid id of SUBSCRIBE transaction.
status status for SIP answer to build.
answer The SIP answer to build.
int eXosip_insubscription_send_answer (inttid, intstatus, osip_message_t *answer)
Send answer for an SUBSCRIBE request.
Parameters:
tid id of SUBSCRIBE transaction.
status status for SIP answer to send.
answer The SIP answer to send. (default will be sent if NULL)
int eXosip_insubscription_build_request (intdid, const char *method, osip_message_t **request)
Build a request within subscription.
Parameters:
did id of incoming subscription.
method request method to build.
request The SIP request to build.
int eXosip_insubscription_build_notify (intdid, intsubscription_status, intsubscription_reason, osip_message_t **request)
Build a NOTIFY request within subscription.
Parameters:
did id of incoming subscription.
subscription_status subscription status (pending, active, terminated)
subscription_reason subscription reason
request The SIP request to build.
int eXosip_insubscription_send_request (intdid, osip_message_t *request)
Send a request within subscription.
Parameters:
did id of incoming subscription.
request The SIP request to send.
int eXosip_insubscription_remove (intdid)
Remove incoming subscription context.
Parameters:
did identifier of the subscription.
Author
Generated automatically by Doxygen for libeXosip2 from the source code.
Version 3.1.0 Sun Jun 24 2012 eXosip2 SUBSCRIBE and incoming subscriptions(3)