10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i grepped the time stamp in a file as given below
now i need to calculate time difference
file data:
18:29:10
22:15:50 (5 Replies)
Discussion started by: vivekn
5 Replies
2. Shell Programming and Scripting
I have two files named Before.txt and After.txt:
Now i want to find the difference in content between <Marker 1> and <Marker 2> in the two files.
---------- Post updated at 05:00 PM ---------- Previous update was at 04:50 PM ----------
Any help will be highly appreciated..:) (3 Replies)
Discussion started by: proactiveaditya
3 Replies
3. 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
4. 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
5. Shell Programming and Scripting
13608:End of Tests.
13811:End of Tests.
14014:End of Tests.
14217:End of Tests.
14420:End of Tests.
14623:End of Tests.
14826:End of Tests.
15029:End of Tests.
15232:End of Tests.
15435:End of Tests.
15638:End of Tests.
i have file like above. i want difference betwwn first field of... (2 Replies)
Discussion started by: pankajd
2 Replies
6. Shell Programming and Scripting
Hi guru's,
Am new to shell scripting.
I am getting the below o/p from the oracle database, when I fire a query.
ID JOB_ID ELAPSED_TIME FROM TO
----- ------ ------------------- -------- --------
62663 11773 01/06/2009 09:49:13 SA CM
62664 11773 ... (4 Replies)
Discussion started by: sathik
4 Replies
7. Shell Programming and Scripting
I have two files like this:
#FILE 1
ABCD 4322 26485
JMTJ 5311 97248
XMPJ 4321 58978
#FILE 2
ABCD 4321 26485
JMTJ 5311 97248
XMPJ 4321 68978
What to do: Compare the two files and find those lines that doesn't match. And have a new file like this:
#FILE 3
"from file 1"
ABCD 4322 26485... (11 Replies)
Discussion started by: kingpeejay
11 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have a requirement for a script to find out the increase in memory. We have a log native_stderr.log where this will log.
bash-2.05$ tail -40 native_stderr.log | grep ': freed'
<GC(4140): freed 168190456 bytes, 66% free (180990488/271776256), in 253 ms>
<GC(4141): freed... (4 Replies)
Discussion started by: senthilkumar_ak
4 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone,
i have files containing lines of number:
109
107
67
62
..
..
i want to calculate the difference between numbers in lines 1 and 2, 3 and 4, 5 and 6 and so on. would someone help me please?. Thanks (12 Replies)
Discussion started by: ahidayat
12 Replies
10. Shell Programming and Scripting
I would like my script to be able to tell the difference between to lines of input, like:
Input 1:
1 2 3 4 5
Input 2:
1 2 3 4 5 6
I want the script to tell me that the difference between the two lines is the 6. Is there anyway I can have it do this?
Here's an example of what my script... (12 Replies)
Discussion started by: Kweekwom
12 Replies