Hi, all.
I need to convert a file tab delimited/variable length file in AIX to a fixed lenght file delimited by spaces. This is the input file:
10200002<tab>US$ COM<tab>16/12/2008<tab>2,3775<tab>2,3783
19300978<tab>EURO<tab>16/12/2008<tab>3,28523<tab>3,28657
And this is the expected... (2 Replies)
I have a fixed length file that need to be sorted according to the following rule
IF B=1 ORDER by A,B
Else ORDER by A,C
Input file is
ABC
131
112
122
231
212
222
Output needed
ABC
112
131
122
212
231
222 (1 Reply)
Hi All,
So far, I've been extracting data from db2 tables and exporting the file as a tab delimited file into a UNIX server using the following command:
export to /.../.../.../.../.../SM_RAW_DATA.dat of del modified by coldel| nochardel
select a.accno,
a.CUR_BL_AM, ... (1 Reply)
Hi Gurus,
Thanks in advance...
I am new to writing shell scripting and help me out reading a flat file with fixed length.
I have a fixed length flat file with storename(lenth 6) , emailaddress(lenth 15), location(10). There is NO delimiters in that file.
Like the following str00001.txt... (2 Replies)
I am new to shell scripting and I have to to the following
I have a flat file with storename(lenth 20) , emailaddress(lenth 40), location(15). There is NO delimiters in that file.
Like the following str00001.txt
StoreName emailaddress location... (3 Replies)
Very, very new to unix scripting and have a unique situation. I have a file of records that contain 3 records types:
(H)eader Records
(D)etail Records
(T)railer Records
The Detail records are 82 bytes in length which is perfect. The Header and Trailer records sometimes are 82 bytes in... (3 Replies)
I have 150 files with 4 columns each but variable row lengths that I need to combine by column. I do not have any common column. I want to use "paste " command in unix to do it but before that I have to get all my files to be of equal length.
Is there a way using awk or sed to fill up n no. of... (7 Replies)
Hii ,I am new to Unix ,i have a flat file which is (fixed length) sitting in unix,Which is holding the data for a table.I want to extract one column(length7-10) on the basis of another column(length13-15) and want only one single row
Example:
Below is the sample of flat file.
1111 AAAA 100 ... (4 Replies)
Hi,
We receive flat files with fixed width data
Now our goal is append from right null or space to each record if the lenght of the record is less than for example 10.
for example
123 45 6 0
123 45
123 45 6
123
and output should be
123 45 6 0
123 45****
123 45 6**... (7 Replies)
Discussion started by: shharrath
7 Replies
LEARN ABOUT DEBIAN
fulla
FULLA(1) HUGIN FULLA(1)NAME
fulla - Correct lens distortion, vignetting and chromatic aberration
SYNOPSIS
fulla [options] inputfile(s)
DESCRIPTION
Apply radial or flat-field vignetting correction as well as geometrical radial distortion and transversal chromatic aberration correction.
fulla can be used to batch correct a large number of files. Radial distortion coefficients can be read from a PTLens database (only
database version 4.2 is supported).
Vignetting correction is done the same way as described in the nona script file documentation. Vignetting correction can be done based on
a flat-field or a radial scaling.
Vignetting correction by flat-field division:
I = I / c, c = flat-field / mean(flat-field)
Radial vignetting correction:
I = I / c, c = a + b*r^2 + c*r^4 + d*r^6
The radial distortion correction is identical to the one implemented by PanoTools:
r_new = a*r^4 + b*r^3 + c*r^2 + d*r [1]
Since transversal chromatic aberrations (TCA) leads to differently scaled objects in the red, green and blue channel, it can be corrected
by scaling the red and blue channel so that they match the green channel. Most applications, like Photoshop or Picture Window Pro offer TCA
correction by linear scaling. This is equal to varying the d parameter in equation [1].
See http://hugin.sf.net/tutorials/tca for a method to determine these parameters.
OPTIONS -g a:b:c:d
Radial distortion coefficient for all channels, (a, b, c, d)
-b a:b:c:d
Radial distortion coefficients for blue channel, (a, b, c, d). This is applied on top of the -g distortion coefficients, use for TCA
corr
-r a:b:c:d
Radial distortion coefficients for red channel, (a, b, c, d). This is applied on top of the -g distortion coefficients, use for TCA
corr
-p Try to read radial distortion coefficients (usually supplied using -g) from the PTLens database. The environment variable
PTLENS_PROFILE should point to the profile.txt file. Since newer version of the PTLens database are incompatible with fulla, download
the PTLens database from the hugin sourceforge website instead: http://www.sf.net/projects/hugin
-m Canon
Camera manufacturer, for PTLens database query. EXIF data inside JPEG files is read, if this option is not given
-n Camera
Camera name, for PTLens database query. EXIF data inside JPEG files is read, if this option is not given.
-l Lens
Lens name, for PTLens database query if not specified, a list of possible lenses is displayed
-d 50
Specify focal length in mm, for PTLens database query. EXIF data inside JPEG files is read, if this option is not given.
-s Do not rescale the image to avoid black borders.
-f filename
Vignetting correction by flat-field division
I = I / c, c = flat-field / mean(flat-field)
-c a:b:c:d
Radial vignetting correction by division:
I = I / c, c = a + b*r^2 + c*r^4 + d*r^6
-i value
Gamma of input data. used for gamma correction before and after flat-field correction
-t n
Number of threads that should be used during processing
-h Display help summary.
-o name
Set output filename. If more than one image is given, the name will be uses as suffix (default suffix: _corr)
-e value
Compression of the output files
For JPEG output: 0-100
For tiff output: DEFLATE, LZW
-v Verbose
AUTHORS
Written by Pablo d'Angelo. Also contains contributions from Douglas Wilkins, Ippei Ukai, Ed Halley, Bruno Postle, Gerry Patterson and Brent
Townshend.
This man page was written by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> and is licensed under the same terms as the hugin package
itself.
"Version: 2011.4.0" 2011-12-02 FULLA(1)