Search Results

Search: Posts Made By: halola85
2
2,615
Posted By halola85
first thank you for your time could you please...
first thank you for your time could you please try this script because when try it appear to me an error

#!/bin/sh
sort -n -r data.txt | awk '{print $0}
BEGIN {
i=0
}
{
arr[i]=$1 total +=...
2
2,615
Posted By halola85
array
hey every body I need help in this script I need to get the max _ MIn and tge avrg


BEGIN {# echo i=0 }{ arr[i]=$1 total += $1 i++}

END {
printf("%s\t%s\n","Minimum Number:"$arr[0])...
10,698
Posted By halola85
array
hey every body I need help in this script I need to get the max _ MIn and tge avrg



BEGIN {
# echo
i=0
}
{
arr[i]=$1
total += $1
i++
}
END {
...
11,629
Posted By halola85
thank you for your time...
thank you for your time...
11,629
Posted By halola85
sorry but I didnot Know that when I post up I ...
sorry but I didnot Know that when I post up I will in problem
sorry Again
11,629
Posted By halola85
I am sorry for annoying you but could you please...
I am sorry for annoying you but could you please try these numbers
0
10
34
34
54
122
58747
54
99
2
1
45
11,629
Posted By halola85
try a number more than 100 :)
try a number more than 100 :)
11,629
Posted By halola85
thank you for your help but it still not...
thank you for your help

but it still not working when try with your command the max num appear 45 even less than the last time which 99
11,629
Posted By halola85
count the max by awk
hey everybody ..
I have a problem when I use this command to count the Max number by awk it give to me 99 while there are numbers bigger than 99


awk 'NR==0 { temp = $0 ;next}
{ if (...
2,045
Posted By halola85
thank you everybody very much for your time :)
thank you everybody very much
for your time :)
2,045
Posted By halola85
Hey .. here is a sample and i would like to...
Hey ..
here is a sample
and i would like to sort it to order it to be
username then the,shell, after that home directory
rootbash:x:0:1:0000-Admin(0000):/:/usr/local/bin/bash...
2,045
Posted By halola85
shell script by sed
Hey everybody

I need some help on how to order the data in file such as a file have first name last name and city and i would like to order them to in the same order by using sed

thanks alot...
29,551
Posted By halola85
Hey everybody I need some help on how to...
Hey everybody

I need some help on how to order the data in file such as a file have first name last name and city and i would like to order them to in the same order by using sed

thanks...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy