10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am looking for a way to sort the output below from the "Inuse" count from Highest to Lowest. Is it possible?
Thanks in advance.
user1 0.12 0.06 0 0.12
User Inuse Pin Pgsp Virtual
Unit:... (4 Replies)
Discussion started by: jaapar
4 Replies
2. Shell Programming and Scripting
Conversion of string into currency value..
ex1:
number_of_positions=2
input_string=345987
Output= 345,987.00
ex2:
number_of_positions=4
input_string=1345987
Output= 1,345,987.0000
Please respond as soon as possible
edit by bakunin: we will gladly respond as soon as... (15 Replies)
Discussion started by: suren.bills
15 Replies
3. Shell Programming and Scripting
Hi there. I have a number allocation problem whereby I have 2 arrays built from 2 different sources. The arrays will just contain a listed of sorted numbers
@a
1
7
10
14
15
16
@b
1
7
10
11
14
15
16 (2 Replies)
Discussion started by: hcclnoodles
2 Replies
4. Shell Programming and Scripting
i want to basically get the lowest numbers from a list ... for example my input file is ....
1
2
3
6
7
8
9
10
11
13
Now i want to create a script or a one liner which i can use like this ...
for example ..../getlowest 3 --> this gives me the next 3 lowest numbers which... (6 Replies)
Discussion started by: greycells
6 Replies
5. Shell Programming and Scripting
i am having a problem finding the lowest number after punching in a bunch of numbers in the .txt file but its probably the way i have the code set up.
help please! (4 Replies)
Discussion started by: tinsteer
4 Replies
6. Shell Programming and Scripting
Hello all,
How can I find the lowest number every 10 lines? For example i have a list
name1
-0.1
name2
2
name3
3
name4
-3
name5
1
name6
2
name7
34
name8
34 (6 Replies)
Discussion started by: TheTransporter
6 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have three files in a directory:
1_700_123456.lst
1_701_123456.lst
1_702_123456.lst
I am trying to use a command via ksh that will list the file that has the lowest number in the second node and put that to a file.
In the example above, it would put 1_700_123456.lst... (2 Replies)
Discussion started by: stky13
2 Replies
8. Shell Programming and Scripting
Hi All,
what is the maximum limit for the command line arguments in korn shell.
Regards,
Raju (4 Replies)
Discussion started by: rajus19
4 Replies
9. Shell Programming and Scripting
I want to be able to generate a random number within a korn shell script..
Preferably i would like to be able to state how many digits should be in this random number... ie 4 digits or 5 digits etc
Any ideas? (2 Replies)
Discussion started by: frustrated1
2 Replies
10. Shell Programming and Scripting
All
I want to find the occurence of comma in a variable in KORN shell. For example :
var = test,test2,test3 ....
finding occurence of comma in this variable. Result = 3 now.
Please help me to write the code.
Thanks in advance.
Regards
Deepak (2 Replies)
Discussion started by: DeepakXavier
2 Replies