06-15-2011
Give us sample data, three rows isn't enough to test.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are running a AIX 5.2 OS.
Would anyone happen to know what the max value for a process id could be?
Thanks
jerardfjay :) (0 Replies)
Discussion started by: jerardfjay
0 Replies
2. Shell Programming and Scripting
hello friends...:-)
i need some help
i have a file cantain like this
Star1 ,NetWork,09/02/2008
Star1 ,NetWork,10/02/2008
Star1 ,NetWork,11/02/2008
Star2 ,NetWork,08/03/2008
Star2 ,NetWork,09/04/2008
Star2 ,NetWork,10/05/2008
i need to find out min, max dates
the output look like... (6 Replies)
Discussion started by: gemini106
6 Replies
3. Shell Programming and Scripting
hi!
i have a file like the attachement.
I'd like to get for each line the min, max and average values. (there is 255 values for each line)
how can i get that ?
i try this, is it right?
BEGIN {FS = ","; OFS = ";";max=0;min=0;moy=0;total=0;freq=890}
$0 !~ /Trace1:/ {
... (1 Reply)
Discussion started by: riderman
1 Replies
4. Shell Programming and Scripting
Hi,
In a field, I should receive the date with time stamp in a particular field. But sometimes the vendor sends just the date or the timestamp or correctl the date×tamp. I have to figure out the the data is a date or time stamp or date×tamp.
If it is date then append "<space>00:00:00"... (1 Reply)
Discussion started by: machomaddy
1 Replies
5. Shell Programming and Scripting
Dear all,
I have 2 questions.
I have a file with many rows which has date of the format YYYYMMDD.
1. I need to change the date to that weeks friday date(Ex: 20120716(monday) to 20120720). Satuday/Sunday has to be changed to next week friday date too.
2. After converting the date to... (10 Replies)
Discussion started by: 2001.arun
10 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The program is supposed to read in text from a given file ( different samples provided in the homework but not... (1 Reply)
Discussion started by: c++newb
1 Replies
7. Shell Programming and Scripting
Dear All,
I have data like this,
input:
1254 10125
1254 10126
1254 10127
1254 10128
1254 10129
1255 10130
1255 10131
1255 10132
1255 10133
1256 10134
1256 10135
1256 10137... (3 Replies)
Discussion started by: aksin
3 Replies
8. Shell Programming and Scripting
Hi,
I have a file which looks like this:
FID IID MISS_PHENO N_MISS N_GENO F_MISS
12AB43131 12AB43131 N 17774 906341 0.01961
65HJ87451 65HJ87451 N 10149 906341 0.0112
43JJ21345 43JJ21345 N 2826 906341 0.003118I would... (11 Replies)
Discussion started by: kayakj
11 Replies
9. Shell Programming and Scripting
Gents,
I have a big file file like this.
5100010002
5100010004
5100010006
5100010008
5100010010
5100010012
5102010002
5102010004
5102010006
5102010008
5102010010
5102010012
The file is sorted and I would like to find the min and max value, taking in the consideration key1... (3 Replies)
Discussion started by: jiam912
3 Replies
10. Shell Programming and Scripting
You have a log file as attached in sample input with various operations and time taken by each of them. Write a script to find the min and max time taken for each operation. Sample output is attached.
Sample Input is given as below:
operation1,83621
operation2,72321
operation3,13288... (1 Reply)
Discussion started by: Chandan_Bose
1 Replies
LEARN ABOUT SUSE
pfsclamp
pfsclamp(1) General Commands Manual pfsclamp(1)
NAME
pfsclamp - Clamp color and luminance channel values to be within the specified range
SYNOPSIS
pfsclamp [--min <minimum>] [--max <maximum>] [--percentile] [--zero] [--rgb]
DESCRIPTION
Use this command to clamp values of luminance and color channels to be within the specified range. I.e. if a value in the channel is above
the specified maximum or below specified minimum, set the value to either minimum or maximum.
The command operates directly on XYZ channels.
OPTIONS
--min <val>
Lower bound for clamping. Default value: 0.0001 (10^-4)
--max <val>
Upper bound for clamping. Default value: 100000000 (10^8)
--percentile, -p
Treat given min and max values as a percentile.
--zero, -z
Set values out of clamping range to zero, instead of setting to specified maximum and minimum.
--rgb
Perform clamping in RGB space.
EXAMPLES
pfsin memorial.hdr | pfsclamp | pfsout memorial_cl.hdr
Remove possible out-of-range values, for examples zeros, from memorial image.
pfsin memorial.hdr | pfsclamp --max 0.95 -p | pfsout memorial_cl.hdr
Remove 5% of the brightest pixels from the original image.
SEE ALSO
pfsin(1) pfsout(1)
BUGS
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de> and Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>.
pfsclamp(1)