Good day!
I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories.
I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Hi all
Some yeras ago (1994) I had a utility that bundled up multiple files into a big file with a seperator lines. Automatically loaded this temp file into vi - which allowed you to edit all the files. then when you :wq or ZZ vi it saved all the files bak to their appropriate file names and got... (0 Replies)
Hello,
I have 2 csv files:
File1:
Name,year,organization
Jim,2007,Org1
Bob,1999,Org3
Chris,2001,Org2
File2:
DocumentName,DocumentTitle,organization,year
Test1,Test1,Org1,2007
Test2,Test2,Org2,2008
Test3,Test3,Org3,2009
Using the ksh, I'm reading by line and grabbing the... (2 Replies)
We have 2 file XML files - FILE1.XML and FILE2.xml - we need copy the contents of FILE1.XML and replace in FILE2.xml pattern "<assignedAttributeList></assignedAttributeList>"
FILE1.XML
1. <itemList>
2. <item type="Manufactured">
3. <resourceCode>431048</resourceCode>
4. ... (0 Replies)
Hi guys, I am a newbie here :wall:
I need a script that can search for a file in a directory and copy the contents of that file in a new file.
Please help me. :confused: Thanks in advance~ (6 Replies)
I have a file with data records separated by multiple equals signs, as below.
==========
RECORD 1
==========
RECORD 2
DATA LINE
==========
RECORD 3
==========
RECORD 4
DATA LINE
==========
RECORD 5
DATA LINE
==========
I need to filter out all data from this file where the... (2 Replies)
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
Xray::Absorption::Shaltout(3pm) User Contributed Perl Documentation Xray::Absorption::Shaltout(3pm)
"cross_section"
Example:
$xsec = Xray::Absorption -> cross_section($elem, $energy, $mode);
@xsec = Xray::Absorption -> cross_section($elem, @energy, $mode);
The $mode argument is different here than for the other resources. The options are "xsec", "photo", "coherent" and "incoherent",
telling this method to return the full cross-section or just the photoelectric, coherent, or incoherent portions.
The values for all cross-sections are computed as log-log polynomials as described in the original paper by Shaltout et al.
NAME
Xray::Absorption::Shaltout - Perl interface to the Shaltout tables
SYNOPSIS
use Xray::Absorption;
Xray::Absorption -> load("shaltout");
See the documentation for Xray::Absorption for details.
DESCRIPTION
This module is inherited by the Xray::Absorption module and provides access to the data contained in
Update of photoelectric absorption coefficients in the tables of McMaster
Abdallah Shaltout, Horst Ebel, and Robert Svagera
X-Ray Spectrometry(2006) vol. 35, p. 52-56
The data is contained in a database file called shaltout.db which is generated at install time from a flat text database of the data which
can be found at <http://www.ifp.tuwien.ac.at/forschung/abdallah.shaltout/> as explained in the reference.
The required Chemistry::Elements module is available from CPAN in the miscellaneous modules section.
EDGE AND LINE ENERGIES
The Shaltout data resource includes all K, L, M, and N edges but does not provide any of the line energies. An minimal set of line
energies is imported from the McMaster data resource.
BUGS AND THINGS TO DO
This module has not be tested sufficiently.
AUTHOR
Bruce Ravel, bravel@bnl.gov
http://cars9.uchicago.edu/~ravel/software/Absorption/
perl v5.12.4 2011-07-30 Xray::Absorption::Shaltout(3pm)