01-16-2014
The output from RavinderSingh13's script doesn't come close to the requested output for either file, but the original post in this thread needs to give an English description of the processing used to produce the desired outputs from the given inputs. There is no explanation given that describes which lines are supposed to be copied, changed, or deleted in the output files???
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI
i wil get input from sql query and that too i can get a list o f files or just one.
i have to pick up a file from another directory which hads prefix to this prefix.x.x.x.x.x. And we have to discard prefix and use that file name.
we have to compare this file name(no need... (0 Replies)
Discussion started by: pulse2india
0 Replies
2. Shell Programming and Scripting
I am not an expert in awk, SED, etc... but I really hope there is a way to do this, because I don't want to have to right a program. I am using C shell.
FILE 1 FILE 2
H0000000 H0000000
MA1 MA1
CA1DDDDDD CA1AAAAAA
MA2 ... (2 Replies)
Discussion started by: jclanc8
2 Replies
3. Shell Programming and Scripting
I have 2 files whose data's are as follows :
fileA
00 lieferungen
00 attractiop
01 done
02 forness
03 rasp
04 alwaysisng
04 funny
05 done1
fileB
alwayssng
dkhf
fdgdfg
dfgdg
sdjkgkdfjg
funny
rasp (7 Replies)
Discussion started by: rajniman
7 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting.Please help me on this.I am using solaris 10 OS and shell i am using is
# echo $0
-sh
My requirement is i have source file say makefile.I need to extract files with extensions (.c |.cxx |.h |.hxx |.sc) from the makefile.after doing so i need to check whether... (13 Replies)
Discussion started by: muraliinfy04
13 Replies
5. Shell Programming and Scripting
I have this code
awk 'NR==FNR{a=$1;next} a' file1 file2
which does what I need it to do, but for only two files. I want to make it so that I can have multiple files (for example 30) and the code will return only the items that are in every single one of those files and ignore the ones... (7 Replies)
Discussion started by: castrojc
7 Replies
6. Shell Programming and Scripting
I have two tab delimited files as given below:
File_1:
PV16 E1 865 2814 1950
PV16 E2 2756 3853 1098
PV16 E4 3333 3620 288
PV16 E5 3850 4101 252
PV16 E6 83 559 477
PV16 E7 562 858 297
PV16 L2 4237 5658 ... (10 Replies)
Discussion started by: vaibhavvsk
10 Replies
7. Shell Programming and Scripting
Hi all, I'm pretty much a newbie to UNIX. I would appreciate any help with UNIX coding on comparing two large csv files (greater than 10 GB in size), and output a file with matching columns.
I want to compare file1 and file2 by 'id' and 'chain' columns, then extract exact matching rows'... (5 Replies)
Discussion started by: bkane3
5 Replies
8. Shell Programming and Scripting
Assume we have two files - FileA and FileB. Content of files are as shown below :
FileA:1001,value1,value4,value8,value9
1002,value4,value32,value46,value33
1503,value5,value45,value68,value53
1605,value4,value67,value56,value57
1073,value5,value45,value68,value53... (3 Replies)
Discussion started by: alnhk
3 Replies
9. Shell Programming and Scripting
Hello,
I have two files which look like this
File 1
Name test1 status P
Gene1 0.00236753 1 1.00E-01
Gene2 0.134187 2 2.00E-01
Gene3 0.000608716 2 3.00E-01
Gene4 0.0016234 1 4.00E-01
Gene5 0.000665868 2 5.00E-01and file 2
No Pos ... (2 Replies)
Discussion started by: nans
2 Replies
10. Shell Programming and Scripting
file2 content
f1file2 content
f1,1,2,3,4,5
f1,2,4,6,8,10
f10,1,2,3,4,5
f10,2,4,6,8,10
f5,1,2,3,4,5
f5,2,4,6,8,10awk 'FNR==NR{a;next}; !($1 in a)' file2 file1output
f10,1,2,3,4,5
f10,2,4,6,8,10
f5,1,2,3,4,5
f5,2,4,6,8,10awk 'FNR==NR{a;next}; ($1 in a)' file2 file1output
nothing... (4 Replies)
Discussion started by: gksenthilkumar
4 Replies
ALE(1) ALE(1)
NAME
ale - a synthetic capture engine and renderer
SYNOPSIS
ale [OPTIONS] original-frame [supplemental-frames ...] output-file
ale [HELP OPTIONS]
ale --version
DESCRIPTION
ALE is a free software synthetic capture engine and renderer accepting, as input, a sequence of image frames, and producing, as output,
rendered images, registration data, and 3D models (currently experimental).
EXAMPLES
ale --hu
Print the help page on program usage.
ale 001.ppm 002.ppm 003.ppm out.ppm
Render output file out.ppm from inputs 001.ppm, 002.ppm, and 003.ppm.
ale --scale 2 001.ppm 002.ppm 003.ppm out.png
Render output file out.png at 2x scale.
ale --perturb-upper=0 --trans-load=a.t --projective frame*.png out.png
Render output file out.png from inputs frame*.png, using projective transformations as described in the file a.t.
ale --3dv 0 out.png --projective frame*.png null:
Render output file out.png from inputs frame*.png, using a 3D scene model to determine transformations.
ale --visp last:sinc*lanc:6 sf:0 out/ .jpg in/*.jpg null:
Render a video stream from files in/*.jpg to the directory out/, stabilizing to the first frame, with a lanczos-windowed sinc filter.
USAGE
ale is a wrapper script that calls the executable ale-bin after extracting exposure EXIF information from image files (when the exiftool
utility is available) and converting from raw formats (when the dcraw utility is available).
When ale-bin has been linked with ImageMagick, input and output files may be of any kind supported by ImageMagick. Otherwise, only PPM
files can be read and written by ale-bin.
OPTIONS
OPTIONS are summarized via built-in help pages (see HELP OPTIONS below). More detailed manuals describing options and internal algorithms
are available for certain versions of ALE. See SEE ALSO below for more details on other manuals.
HELP OPTIONS
A listing of available help options can be obtained by invoking ale --hu.
ENVIRONMENT
The wrapper script ale recognizes the following environment variables:
ALE_BIN
ALE executable to use.
DCRAW
dcraw raw extraction tool to use.
EXIF_UTILITY
EXIF extraction utility to use.
ALE_COUNT_THREADS
Displays statistics on thread counts when set to a non-zero value.
PAGER
Text pager to use (e.g., for displaying help pages).
SEE ALSO
More detailed manuals for certain versions of ALE are distributed with source packages, and may also be available from:
http://auricle.dyndns.org/ALE/manuals/
03/31/2009 ALE(1)