9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I need something where I could take the date from FILE1 and in this case the date is Thu Sep 10 13:48:42 EDT 2015 and I need it to match the closest PREVIOUS date in the log file FILE2 this means in this specific case it would be Thu Sep 10 2015 13:35:28.
I only need the closest... (3 Replies)
Discussion started by: roberto999
3 Replies
2. Shell Programming and Scripting
Hi All
I am sorry but I have to open a new thread about my issue.
My input files are:
file_1
ID_1 10
ID_2 15
ID_3 32
ID_4 45
ID_5 66
ID_6 79
ID_7 88
file_2
ID_3
ID_5My output file should be
ID_3 ID_1(-22) ID_2(-17) ID_4(-13) ID_5(34) (5 Replies)
Discussion started by: giuliangiuseppe
5 Replies
3. Shell Programming and Scripting
Hello,
I have an xml file whose contacts are like below:
<Node>Apple
<B>Value1</B>
<B>Value2</B>
<B>Value3</B>
</Node>
<Node>Mango
<B>Value1</B>
<B>Value2</B>
<B>Value3</B>
</Node>
<Node>Apple
<B>Value1</B>
<B>Value2</B>
<B>Value3</B>
</Node>
<Node>Bannana (3 Replies)
Discussion started by: umarsatti
3 Replies
4. Shell Programming and Scripting
Hi all,
I have a file which looks like:
0 1.1985506
1 1.2237930
2 1.2159038
3 1.2668828
4 1.2650216
5 1.2474344
6 1.2817688
7 1.2721698
8 1.2665005
9 1.2826315
10 1.2797879
11 1.3201736
12 1.3116595
13 1.3361583
14 1.3309238 (2 Replies)
Discussion started by: ezitoc
2 Replies
5. UNIX for Dummies Questions & Answers
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Discussion started by: arvindosu
8 Replies
6. Shell Programming and Scripting
hello I'm doing a unix program and i'm using many file csv.in each csv file the colums are separated by ";" I would like to know the position of a pattern. For example for a line yyyy, bbbb, cccc; ddddd;eeee. I will like for example by finding the position of the pattern "cccc" and the response is... (6 Replies)
Discussion started by: papis
6 Replies
7. Shell Programming and Scripting
Ok
Suppose I have a log file like the below:
2010-07-15 00:00:01,410 DEBUG
2010-07-15 00:01:01,410 DEBUG
2010-07-15 00:01:02,410 DEBUG com.af ajfajfaf affafadfadfd dfa fdfadfdfadfadf
fafafdfadfdafadfdaffdaffadf
afdfdafdfdafafd error
error failure afdfadfdfdfdf
EBUDGG eafaferror failure... (6 Replies)
Discussion started by: SkySmart
6 Replies
8. Shell Programming and Scripting
HI,
Please find the text below. I receive a .csv file on server. I need the comma(,) in the second column to be replaced by a semi-colon( ; ).
How to do it. Please help.
Sample text:
"1","lastname1,firstname1","xxxxxx","19/10/2009","23/10/2009","0","N","Leave"... (2 Replies)
Discussion started by: libin4u2000
2 Replies
9. Shell Programming and Scripting
Hi,
I am looking for a way to find a particular word in a file then print a line that precedes this line, as well as this line.
Sometimes in a log file there is only one word per line and I need to print one of the lines leading up to the single worded line.
Example - I can grep for ouch... (5 Replies)
Discussion started by: g_jumpin
5 Replies