11-13-2008
The short answer is: it's the only way to find a reasonably small change-set between two files. For the long answer, perhaps you should look up research papers on sorting and searching. Or, take some phone books and try it yourself.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
If I have 3 kinds of files in directory DATA1:
FileA.20060315.dat, FileB.20060315.dat, FileC.20060315.dat
FileC.20060316.dat
FileA.20060317.dat, FileB.20060317.dat
FileA.20060318.dat, FileB.20060318.dat, FileC.20060318.dat
If 3 files have the same date then run
$cat FileA.20060315.dat... (3 Replies)
Discussion started by: sabercats
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have around 14-15 files and i want to sort all the files and then compare. I dont want to sort them and store in a different file and then compare. I want to compare two files at a time. Is there a way we can do this using a single command? (5 Replies)
Discussion started by: dnat
5 Replies
3. UNIX for Advanced & Expert Users
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
Discussion started by: pankaj80
3 Replies
4. Shell Programming and Scripting
Team,
I have two files and I am trying to find the lines unique to file1. So i have executed the below command at shell prompt and got the correct results
comm -23 <(sort test) <(sort test1)
When i run the same command in Bash shell script, i got the correct results.
But when i run... (5 Replies)
Discussion started by: forums123456
5 Replies
5. Shell Programming and Scripting
Hi Experts,
I have a filelist collected from another server , now want to sort the output using date/time stamp filed.
- Filed 6, 7,8 are showing the date/time/stamp.
Here is the input:
#----------------------------------------------------------------------
-rw------- 1 root ... (3 Replies)
Discussion started by: rveri
3 Replies
6. Shell Programming and Scripting
Hello All,
Iam using below method to sort and compare files. First iam doing sorting and changing the same file and then doing comparing and taking the final result to another file.
sort -o temp.txt file1
mv temp.txt file1
sort -o temp.txt file2
mv temp.txt file2
sort -o temp.txt... (6 Replies)
Discussion started by: Vikram_Tanwar12
6 Replies
7. Shell Programming and Scripting
Hi,
I have a file that needs to be converted:
content is:
a, b, 4
a ,b, 5
x, y, 1
a, b, 1
x, y, 3
how can i get:
a, b, 1|4|5
x,y 1|3 (1 Reply)
Discussion started by: nike27
1 Replies
8. Shell Programming and Scripting
To make it easier, i gave following example. It is not homework or classwork. Instead, i have a huge csv file dump from tsql with 15 columns and around 300 rows. I was able to extract content that needs to be really converted. Here is the extract:
ES FP,B1ES FP,70000,I,SL22,SL22 (70000)
ES... (0 Replies)
Discussion started by: nike27
0 Replies
9. Shell Programming and Scripting
To make it easier, i gave following example. It is not homework or classwork. Instead, i have a huge csv file dump from tsql with 15 columns and around 300 rows. I was able to extract content that needs to be really converted. Here is the extract:
ES FP,B1ES FP,70000,I,SL22,SL22 (70000)
ES... (8 Replies)
Discussion started by: nike27
8 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am new to Unix and would like to seek a help, please.
I have 2 files (file_1 and file_2), I need to perform the following actions.
1 ) Sort the both file by the column 26-36 (which is Invoice number)
what is sort command with the column sort?
2) Compare the file_1.sorted and... (3 Replies)
Discussion started by: Usagi
3 Replies
LEARN ABOUT DEBIAN
exosip2_message
eXosip2 request outside of dialog(3) libeXosip2 eXosip2 request outside of dialog(3)
NAME
eXosip2 request outside of dialog -
Functions
int eXosip_message_build_request (osip_message_t **message, const char *method, const char *to, const char *from, const char *route)
int eXosip_message_send_request (osip_message_t *message)
int eXosip_message_build_answer (int tid, int status, osip_message_t **answer)
int eXosip_message_send_answer (int tid, int status, osip_message_t *answer)
Detailed Description
Function Documentation
int eXosip_message_build_request (osip_message_t **message, const char *method, const char *to, const char *from, const char *route)
Build a default request message.
This method will be updated to send any message outside of dialog In this later case, you'll specify the method to use in the second
argument.
Parameters:
message Pointer for the SIP request to build.
method request method. (like 'MESSAGE' or 'PING'...)
to SIP url for callee.
from SIP url for caller.
route Route header for request. (optional)
int eXosip_message_send_request (osip_message_t *message)
Send an request.
Parameters:
message SIP request to send.
int eXosip_message_build_answer (inttid, intstatus, osip_message_t **answer)
Build answer for a request.
Parameters:
tid id of transaction.
status status for SIP answer to build.
answer The SIP answer to build.
int eXosip_message_send_answer (inttid, intstatus, osip_message_t *answer)
Send answer for a request.
Parameters:
tid id of transaction.
status status for SIP answer to send.
answer The SIP answer to send. (default will be sent if NULL)
Author
Generated automatically by Doxygen for libeXosip2 from the source code.
Version 3.1.0 Sun Jun 24 2012 eXosip2 request outside of dialog(3)