10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I couldn't find any thing on google about it and have been trying to figure this out but am not getting anywhere. I want to know if its possible through a script. I have a file with columns start time and end time separated by a comma, basically there are some other columns which I need to... (30 Replies)
Discussion started by: dsid
30 Replies
2. Shell Programming and Scripting
Gents,
It is possible to generate a range of values according to column 1 and count the total of rows in the range.
example
input
15.3
15.5
15.8
15.9
16.0
16.1
16.8
17.0
17.5
18.0
output desired
15.0 - 15.9 = 4 (10 Replies)
Discussion started by: jiam912
10 Replies
3. Shell Programming and Scripting
Dear All,
I am stacked and I ask for your help.
Briefly, I have two files, one like this one (file1):
1 101 5
1 102 6
1 103 2
1 104 9
1 105 10
2 301 89
2 302 4
2 303 13
2 304 34
2 305 1
and the other like this one (file2):
1 103
2 303well, what I am trying to do is obtain a... (2 Replies)
Discussion started by: giuliangiuseppe
2 Replies
4. UNIX for Dummies Questions & Answers
Name Num_free Num_active Pct_act Max_Used Reuse_cnt Instance_Name
--------------------------------- --------------- ----------- ------- ----------- ----------- ------------------------------
additional network memory 0 ... (2 Replies)
Discussion started by: Rajeshneemkar
2 Replies
5. Shell Programming and Scripting
I have a list of columns with values that I need to transform into a row containing the range of each column. For example:
"Column A"
1
2
3
4
10
12
14
15
16
17
18
"Column B"
1
4
5
6 (4 Replies)
Discussion started by: newbio
4 Replies
6. Shell Programming and Scripting
Hello,
I am looking for some help on GAWK script. I have a list of phone numbers as below.
I need to sort these in the range of first 6 digits.
2402170338
2402170387
2402170478
2402170744
2403100025
2403100026
2403100027
2403100028
So for the above sample data, I require an output... (9 Replies)
Discussion started by: Diwakar9
9 Replies
7. Programming
I have an array containing distances in ascending order, for example:
distances = 100 120 150 170 200 280 300 ....
I have a number, let's say v = 170 and a variation value, let's say var = 100 . I want to return the array indexes for which the distances cover the range (v - var) to (v +... (3 Replies)
Discussion started by: kristinu
3 Replies
8. Shell Programming and Scripting
Hi
Input
10 131
11 179
11 170
20 142
20 131
20 144
21 178
22 155
22 196
23 144
23 184
24 194
24 191
24 218
25 167
25 131
26 189 (6 Replies)
Discussion started by: genehunter
6 Replies
9. Shell Programming and Scripting
Hi,
I have a file with the below like values with integers only in sorted order (May or may not be in sequence)
Eg: File1.txt
-----------
1
2
3
4
5
6
.
.
.
.
.
10000
My requirement here is to create a range of values out put to a temp k (4 Replies)
Discussion started by: shiva447
4 Replies
10. Shell Programming and Scripting
Hi All,
I am having a script in which I am greping some values and storing them from files with .err and .log extensions.
I feel I can do it better.But How?
Below is my piece of code.
oneerrors=`egrep -i -n "one" *.err *.log`
twoerrors=`egrep -i -n "two" *.err *.log` ... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies