10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi to all,
Please help on the following problem, I'm not where to begin, if awk or shell script.
I have pairs of ranges of numbers and I need to find the root or roots of ranges based on min Range and Max ranges
Example #1:
If min range is 120000 and max ranges 124999, it means that are... (5 Replies)
Discussion started by: Ophiuchus
5 Replies
2. Shell Programming and Scripting
Hello,
I am newbie to bash scripting. Could someone help me with the following.
I have log file with output as shown below
**************************LOG*************************
11/20/2013 9:11:23.64 Pinging xx.xx.xx.xx with 32 bytes of data:
11/20/2013 9:11:23.64 Reply from xx.xx.xx.xx:... (4 Replies)
Discussion started by: meena_2013
4 Replies
3. Shell Programming and Scripting
Hi All,
I have a list of data in the listing file and I run row by row to process the record, but how to identify what is the current process line number ?
Thanks. (2 Replies)
Discussion started by: ckwan
2 Replies
4. Shell Programming and Scripting
Looking for a simple way to convert ranges to a numerical sequence that would assign the original value of the range to the individual numbers that are on the range.
Thank you
given data
13196-13199 0
13200 4
13201 10
13202-13207 3
13208-13210 7
desired... (3 Replies)
Discussion started by: jcue25
3 Replies
5. Shell Programming and Scripting
Hi, I have a list.txt file with number ranges and want to print/save new all.txt file with all the numbers and between the numbers.
== list.txt ==
65936
65938
65942 && 65943
65945 ... (7 Replies)
Discussion started by: AK47
7 Replies
6. UNIX for Dummies Questions & Answers
Hello,
Here is my question. I have a file which contains the html values. I have to find the decimal number from it. It is tagged around >68.74<. Please help me on it..
alt='' ><\/td>\n\t\t<td align=\"right\" class='data_table_text data_table_conv_averages_text' \
style='padding-right:... (1 Reply)
Discussion started by: sathyaonnuix
1 Replies
7. Shell Programming and Scripting
Hi there
does anybody know how i can get the line number from an entry or entries in a file ?? for example if i had a file
test1
test2
test3
test1
and i needed to get the line numbers for all instances of test1 in that file
with the answer being (1,4)
Would anybody be able... (7 Replies)
Discussion started by: hcclnoodles
7 Replies
8. Shell Programming and Scripting
Let's say I am trying to find out how many times someone has logged into the machine. Use last to display all the different logins, several names pop up, some multiple times. All I have been able to figure out is the total number of logins, but I can't determine how to compare if $1(user name) is... (3 Replies)
Discussion started by: TiznaraN
3 Replies
9. Shell Programming and Scripting
Hi,
I have a question here that need to get advise from all of you. Let say I have a set of data
12347777
12359899
12347677
12360090
12347688
12359979
12359009
12367022
12346677
I need to count the number that appear in each numbering ranges and the output is like below:
Prefix ... (5 Replies)
Discussion started by: shirleyeow
5 Replies
10. Shell Programming and Scripting
I think my script is working but i am trying to understand while I am tracing to see if it's realli working..
can somebody please comment.. also. is there different way to write this in shell?
sh -x findbiggestnum 1 2 3
+
big=0
+
big=1
+
big=2
+
big=3
+ echo 3
3
big=0
... (3 Replies)
Discussion started by: hankooknara
3 Replies