04-19-2013
i want to subsitute values(field_value) from input_file accoring to the description_file .. description file some has some more fields which may not in the input_file.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
Has anyone got an example shell script that I can use to compare the contents of two files.
The files should contain the same contents, eg.
file1.txt
apple
pear
grape
file2.txt
apple
pear
grape (2 Replies)
Discussion started by: deedaz
2 Replies
2. Shell Programming and Scripting
hello ....i am new in shell script..I have one shell script which read inputs from file...and second is c++ pgm..i call my script from c++ programm..to compare file values to c++ pgm value..
our shell script is shubhi.sh
#! /bin/sh
while read line
do
echo -e"$line"
done<file1
this script... (1 Reply)
Discussion started by: shubhig15
1 Replies
3. UNIX for Advanced & Expert Users
All,
PLease can you help me with a shell script which can compare two xml files and print the difference to a output file.
I have attached one such file for you reference.
<Group>
<Member ID=":Year_Quad:41501" childCount="4" fullPath="PEPSICO Year-Quad-Wk : FOLDER.52 Weeks Ending Dec... (2 Replies)
Discussion started by: kanthrajgowda
2 Replies
4. Shell Programming and Scripting
hi,
i have a text file that looks like this!
i want to generate an excel sheet out of it, removing all the junk data except the addresses
that look like
. Arrow Electrical Services
Rotating Machinery, Electrical Contracting & Mining Specialists
Onsite maintenance, breakdown... (8 Replies)
Discussion started by: vemkiran
8 Replies
5. Linux
Hi All,
Can anyone give me Shell script sample script to generate Param file by Reading Values from SQL Plus query and it should assign those values to variables like..
$$SChema_Name='ORCL'
Thanks in Advance... Srav... (4 Replies)
Discussion started by: Sravana Kumar
4 Replies
6. Shell Programming and Scripting
I have a file lets say input.csv having two columns like-
Name,Mobile No
A,111
B,222
A,333
A,123
B,213
I would like to find result in a new file lets say output.csv as-
Name,Mobile No
A,111
B,222
means short the file on the basis of first column and first value corresponding to the... (5 Replies)
Discussion started by: Ashish Singhal
5 Replies
7. Shell Programming and Scripting
Hi,
I want 10000+ unique Audio file of approx 2MB each. How can i generate numerous audio files using shell script. Any tool, command or suggestions are welcome.
If i give one audio seed file then can we create numerous unique files with same seed file?
Any help is highly appreciable.... (11 Replies)
Discussion started by: sushil.kumar
11 Replies
8. Shell Programming and Scripting
I have below 2 requirements for parameterize the generate the extract file from Oracle table using Shell Script. Could you please help me by
modifying the script and show me how to execute it.
First Requirement:
I have a requirement where I need to parameterize to generate one... (0 Replies)
Discussion started by: hareshvikram
0 Replies
9. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am totally a newbie to any programming languages and I just started an entry level job in an IT company. One of my recent tasks is to create a script that is able to show the log file of linux service (i.e. ntpd service)
lets say, if I run my script ./test.sh, the output should be... (3 Replies)
Discussion started by: xiaogeji
3 Replies
LEARN ABOUT DEBIAN
mca2edf
mca2edf(1) PyMca X-Ray Fluorescence Toolkit mca2edf(1)
NAME
mca2edf - Convert SPEC file format files to EDF format
SYNOPSIS
mca2edf [OPTIONS] [FILES]
DESCRIPTION
X-ray maps were stored at the European Synchrotron Radiation Facility as a set of images in ESRF Data Format (EDF). The image rows being
associated to points of a horizontal sample scan and the image columns to the spectrum channels.
This tool allows to convert a set of files wrapped by the PyMca Toolkit as SPEC file format, and therefore without sample position informa-
tion, to European Synchrotron Radiation Facility data format (EDF).
Its usefulness is nowdays somehow limited because recent PyMca developements allow to reshape nspectra x nchannels datasets in the tools
making use of the shape information (pymcaroitool, pymcapostbatch).
EXAMPLES
mca2edf
Open a dialog to select input files, output directory and the
number of spectra on each horizontal row.
mca2edf --outdir=/tmp --mcastep=2 *.mca
Convert all the .mca files in current directory to a set of EDF
files containing two spectra. The output is placed in /tmp
mca2edf --outdir=/tmp --mcastep=2 --listfile=input_file
Same as before but applied to all the files listed in input_file.
Each line of input_file must contain a valid file name.
SEE ALSO
pymcaroitool, pymcapostbatch
ESRF
March 2012 mca2edf(1)