07-14-2008
You may have channel control words embedded in the file. Try using the ASC mode in ftp.
Also look up how to use the dd command - man dd - it is meant to do file conversions.
If you need more help post back with a sample of the file.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I hopefully have a simple request - I need to process multiple files reformatting the output based on tags at the beginning of each line. So the data for the new 3 lines of the output file are in the HDR line and then the details are in the DTL tagged lines.
for ifile in $indir
do
echo... (1 Reply)
Discussion started by: jason_v_brown
1 Replies
2. Shell Programming and Scripting
I have some xml files that cannot be read using a standard parser, or I am using the wrong parser. The issues seems to be spaces in some of the tags.
Here is a sample,<UgUn 2 >
<Un>
-0.426753
</Un>
</UgUn>The parser isn't able to find the number 2, so that information is lost, etc. It seems... (16 Replies)
Discussion started by: LMHmedchem
16 Replies
3. Shell Programming and Scripting
Hi all,
I have an input file like
1,date,company,,
1,date,comapny,,
2,000,,,567,ACT,00,,,,KKG,M1,D45,,67J,+4500000000
2,000,,,567,ACT,00,,,,KKG,M6,D49,,56J,+6000
2,000,,,567,ACT,00,,7,,KKG,M3,D58,,68h,-70000
2,000,,,567,ACT,00,,,,KKG,M9,D95,,34m,0.00
3,total
what i require is
1.I... (2 Replies)
Discussion started by: selvankj
2 Replies
4. Shell Programming and Scripting
Dear experts,
my problem is pretty tricky.
I want to change a file (see attached input.txt), according to another file (help.txt). The output that is desired is in output.txt. The example is attached.
Note that
-dashes should not be treated specially, they are considered normal characters,... (2 Replies)
Discussion started by: TheTransporter
2 Replies
5. UNIX for Dummies Questions & Answers
I have a file with temperature measurements:
Loc1,20090102,71.55
Loc1,20090103,71.65
Loc1,20090104,71.55
Loc1,20090105,71.54
Loc1,20090106,71.54
However, to load this into a database I would like to reformat the dates (column 2) from the yyyymmdd format to the yyyy-mm-dd format. I have... (2 Replies)
Discussion started by: figaro
2 Replies
6. Shell Programming and Scripting
Hi, I have a single colum file and I need to reformat the file so that it creates a new line every time it come to an IP address and the following lines are corresponding rows until it comes to the next IP address.
I want to turn this
172.xx.xx.xx
gwpusprdrp02_pv
seinwnprd03... (7 Replies)
Discussion started by: kieranfoley
7 Replies
7. Shell Programming and Scripting
Dear ALL,
I would really appreciate if you could help me in reformatting a file in this way:
The file refers to a list of genetic coordinates, each lines has a score value and the associated chromosome is listed in the line starting with chrom .
If more coordinates are found, the start... (2 Replies)
Discussion started by: paolo.kunder
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have an input file that looks like this (columns are tab delimited:
Data000005-RA GO:0003735 GO:0005840 GO:0006412
Data000005-RA GO:0003735
Data000009-RA GO:0003735 GO:0005622 GO:0005840 GO:0006412 ... (2 Replies)
Discussion started by: Fahmida
2 Replies
9. Shell Programming and Scripting
Hello UNIX experts,
I'm stumped finding a method to reformat a column. Input file is a two column tab-delimited file. Essentially, for every term that appears in column 2, I would like to summarize whether that term appears for every entry in column 1. In other words, make a header for each term... (2 Replies)
Discussion started by: torchij
2 Replies
10. Shell Programming and Scripting
Hi,
i've got the following output file:
170724_1600 | SYSTEM | 449 | 282 | 167 | 62
170724_1600 | CCS_SCP_DATA | 200 | 88 | 112 | 44
170724_1600 | CCS_SCP_SUBS_I | 2001 | 1751 | 250 | 87
170724_1600 | UIS_CDR_INDEX | 2001 | 1 | 2000 | 0
170724_1600 | LCP_INDEX | 200 | 5 | 195 | 2... (4 Replies)
Discussion started by: nms
4 Replies
LEARN ABOUT DEBIAN
tca_correct
TCA_CORRECT(1) HUGIN TCA_CORRECT(1)
NAME
tca_correct - Calculate transverse chromatic aberration
SYNOPSIS
tca_correct [options] inputfile
<inputfile> is the base name of 4 image files:
<inputfile>
Colour file to compute TCA parameters
red_<inputfile>
Red channel of <inputfile>
green_<inputfile>
Green channel of <inputfile>
blue_<inputfile>
Blue channel of <inputfile>
The channel images must be colour images with 3 identical channels. If any of -R, -G, or -B is given, this file name is used instead of
the derived name.
Output: commandline arguments for fulla
DESCRIPTION
Generates fulla command-line parameters for correction of transverse chromatic aberration (TCA) from sample photos. Ideal sample photos
would have a lot of contrast over the entire image area, little saturated colour and no blown highlights.
OPTIONS
-h Display help
-l input file is PTO file instead of image
-m method
optimization method (0 normal, 1 newfit)
-o optvars
string of variables to optimize ("abcvde")
-r Reset values (this will zero a,b,c,d,e params and set v to 10) makes sense only with -l option
-s <scale>
Scale for corner detection
-n <number>
number of points per grid cell (default: 10)
-g <number>
divide image in <number>x<number> grid cells (default: 10)
-t num
Remove all control points with an error higher than num pixels (default: 1.5)
-v Verbose
-w filename
write PTO file
-R <r>
Use this file as red channel
-G <g>
Use this file as green channel
-B <b>
Use this file as blue channel
AUTHORS
Written by Pablo d'Angelo and others.
"Version: 2011.4.0" 2011-12-02 TCA_CORRECT(1)