04-10-2008
hai anchal
i got the solution u r slastone is correct
thanks a lot for u r answer
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have seen there are many sed posts but still it is quite difficult to apply other post to my own problem
How can I delete all lines in a file from 2 lines after this pattern
*End_fine_coreg:_NORMAL
to the end of file?
Cheers (2 Replies)
Discussion started by: larne
2 Replies
2. Shell Programming and Scripting
I want to delete lines like this
sed '/FROM_HERE/,/TO_HERE/d'
but I would like to *not* delete the second match, i.e. the TO_HERE line. How can I achieve this?
Thank you! (1 Reply)
Discussion started by: Ilja
1 Replies
3. Shell Programming and Scripting
say i have a file with the following contents
0x20
0x20
0xc23886
> 0xc12354
> 0xc567555555
i want to delete "> " pattern and keep the rest of the file (6 Replies)
Discussion started by: lassimanji
6 Replies
4. Shell Programming and Scripting
Hi All,
Please can someone assist in the script I have made that searches a pattern in a file and delete the whole line containing the pattern.
#!bin/sh
# The pattern that user want to add to the files
echo "Enter the pattern of the redirect"
read value
# check if the user has... (1 Reply)
Discussion started by: Shazin
1 Replies
5. Shell Programming and Scripting
As an example (just an example, this could apply to any block of text) say I have this:
architecture x86_64
cputype CPU_TYPE_X86_64
cpusubtype CPU_SUBTYPE_X86_64_ALL
offset 4096
size 2972420
align 2^12 (4096)
architecture ppc64
cputype CPU_TYPE_POWERPC64
cpusubtype... (3 Replies)
Discussion started by: pcwiz
3 Replies
6. Shell Programming and Scripting
I am trying to delete a pattern without removing line. I searched a lot in this forum and using those I could come up with sed command but it seems that command does not work. Here's how my file looks like:
1 ./63990 7
1171 ./63990 2
2425 ./63990 9
2539 ./63990 1
3125 ./63990 1
10141... (7 Replies)
Discussion started by: shoaibjameel123
7 Replies
7. Shell Programming and Scripting
Hi,
I have a file:
5 T1AxialPremosaic ok 512 448 23 1 284000-000005-000001.dcm
6 T2_SPACE ok 256 256 176 1 465000-000006-000001.dcm
7 FLAIRmosaic ok 512 432 23 1 748000-000007-000001.dcm
8 T2_SPACE ok 256 256 1 171000-000008-000001.dcm
9 T2_SPACE ok 256 256 1 218000-000009-000001.dcm... (5 Replies)
Discussion started by: goodbenito
5 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have a file:
r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e)
I want to retain... (15 Replies)
Discussion started by: Alyaa
15 Replies
9. Shell Programming and Scripting
I have a header-detail file that goes like this:
SHP00288820131021110921
ORDER0156605920131021110921INMMMMFN
DETAIL0004 4C2Z 10769 AAFC 0000009600000094 4C2Z 10769 AAFC 0000672107 OIL
DETAIL0002 ER3Z 14300 E 0000001300000012 ER3Z 14300 E 0000672107 OIL... (3 Replies)
Discussion started by: rbaggio666
3 Replies
10. Shell Programming and Scripting
hi
I have a large xml file from which i have taken few lines . In this file I have to find for the string </invoices> and check if the 3 rd line after this string does not begin with <portCode> ,then i have to delete the string </invoices> and the next line having the string </shippingBill>... (13 Replies)
Discussion started by: sunnyboy
13 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 Description
Function 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)