Hi,
I have a file like below:
ABC,1001,DEFG,40000
AVD,2002,FGRG,3000
DBF,2002,HDGD,3454
GDF,4564,GRTR,5656
GDF,4659,GGTD,10002
....
.....
I have to get all the lines which contains 2002 and 4659 at the second position. Please help.
The output file will be like:
... (9 Replies)
Hi there, I have the following output,
# raidctl -l
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------
c0t1d0 IM OK c0t1d0 OK
... (4 Replies)
this is Korn shell unix.
The scenario is I have a pipe delimited text file which needs to be customized. say for example,I have a pipe delimited text file with 15 columns(| delimited) and 200 rows. currently the 11th and 12th column has null values for all the records(there are other null columns... (4 Replies)
Hi, I've got a file that I'd like to uniquely sort based on column 2 (values in column 2 begin with "comp").
I tried sort -t -nuk2,3 file.txtBut got:
sort: multi-character tab `-nuk2,3'
"man sort" did not help me out
Any pointers?
Input:
Output: (5 Replies)
Hi,
I have a variable which stores file names as a result of find command. I need to delete all these files one by one, i.e. by a loop. Can anyone tell me how can it be done?
The variable f2d has the file names like these
abc.txt
bcd.txt
fff.txt
gef.txt
Now I have used a loop as... (12 Replies)
Hey everyone,
I have a bunch of lines with values in field 4 that I am interested in.
If these values are between 1 and 3 I want it to count all these values to all be counted together and then have the computer print out
LOW and the number of lines with those values in between 1 and 3,... (2 Replies)
I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables.
I need to read this file which is an input to my script
Config.txt
file name, first path, second... (7 Replies)
Hello,
I would like to ask for help with csh script.
An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
GM,
I have an issue at work, which requires a simple solution. But, after multiple attempts, I have not been able to hit on the code needed.
I am assuming that sed, awk or even perl could do what I need.
I have an application that adds extra blank page feeds, for multiple reports, when... (7 Replies)
Discussion started by: jxfish2
7 Replies
LEARN ABOUT SUSE
pfsinhdrgen
pfsinhdrgen(1) General Commands Manual pfsinhdrgen(1)NAME
pfsinhdrgen - Create a pfs stream with different exposures defined by hdrgen script.
SYNOPSIS
pfsinhdrgen <sample.hdrgen>
DESCRIPTION
This program reads files defined in given hdrgen script and outputs them in a PFS stream. Each frame has a tag BV with corresponding
brightness value (APEX standard). Larger BV corresponds to less exposure (darker image), necessary to capture a bright scene.
The generated PFS stream is to be used with photo-metric calibration software and with generators of HDR images.
HDRGEN script file is a plain text file in which each line contains: <path_to_an_image> <inverse_of_exposure_time_in_seconds> <aper-
ture_size> <iso_speed> 0
In most cases it is convenient to use the jpeg2hdrgen program to create such a file automatically. In case it could not parse the exif
information from jpeg files, it is necessary to create this file by hand. Below are the sample contents of such file:
<--- cut here: sample.hdrgen /var/tmp/images/img08.jpg 4 2.8 100 0 /var/tmp/images/img09.jpg 58.8235 2.8 100 0 /var/tmp/images/img10.jpg
76.9231 2.8 100 0 /var/tmp/images/img11.jpg 322.581 2.8 100 0 /var/tmp/images/img12.jpg 400 2.8 100 0 <--- cut here: sample.hdrgen
EXAMPLES
pfsinhdrgen sample.hdrgen | pfsview
View exposures defined in sample.hdrgen script.
SEE ALSO jpeg2hdrgen(1)pfshdrcalibrate(1)BUGS
Please report bugs and comments on implementation to Grzegorz Krawczyk <gkrawczyk@users.sourceforge.net>.
pfsinhdrgen(1)