10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have about 1200 xml files I need to deploy from a 6.4 XML version to 9.0 version of a DTD. So I need a sed command to do lots of of replacements of random variables.
The keyword line is <AUTOEDIT EXP then is will have a variable followed by an equals sign. From that point on I need to break... (5 Replies)
Discussion started by: J-Man
5 Replies
2. Shell Programming and Scripting
I have 2 files. File 1 delimited by ";"
File 1:
001;0;11223;xx;N;1001051;124;1;1;1001051;110;0;A_15;D;DX;U
001;0;8830943;xx;P;1226040;978;1;0;1226040;110;0;A_15;D;DX;H
001;0;10946903;xx;N;1300496;978;1;1;1300496;110;0;A_17;D;DX;H... (2 Replies)
Discussion started by: pparthiv
2 Replies
3. Shell Programming and Scripting
I have a file whose format is shown below. It has a table of numbers. In this case, I have 16 values in 12 rows.
I want to select a position in the table, example, the 5th number at row 5. I need to change the value in that position by a certain amount and output the file with the modifiation. ... (6 Replies)
Discussion started by: kristinu
6 Replies
4. Shell Programming and Scripting
I have a large xml file as shown below:
<input>
<blah>
<blah>
<atr="blah blah value = "">
<blah>
<blah>
</input>
..2nd chunk...
..3rd chunk...
...4th chunk...
All lines between <input> and </input> is one 'order' and this 'order' is repeated... (14 Replies)
Discussion started by: shekhar2010us
14 Replies
5. Shell Programming and Scripting
Hi,
I do not have a clue how to do this nor can I find information on it but I have a file that looks like this (basically 3 columns and tab delimited). I need this in a particular format in order for a program to actually read it.
chr1 2 4
chr1 2 5
chr1 3 6
chr2 1 4
chr2 2 5
... (2 Replies)
Discussion started by: kylle345
2 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I have this(.xml) file as:
<!-- define your instance here -->
<instance name='ins_C2Londondev' user='' group='' fullname='B2%20-%20London%20(dev)' >
<property>
</property>
</instance>
I want output as:
<!-- define your instance here -->
<instance... (3 Replies)
Discussion started by: kapilkinha
3 Replies
7. Shell Programming and Scripting
hi guys
Need some help on my below script
#!/bin/sh
if
then
echo "~~:S:wait:/sbin/sulogin" >> /root/joy/inittab
else
echo "/root/joy/inittab does not exist"
fi
now the problem is that when i run the above script it runs successfully
but when i run it repeatedly the word echo... (2 Replies)
Discussion started by: whizkidash
2 Replies
8. Shell Programming and Scripting
Hello folks
I want to extract data between certain tag in XML file using 'sed'
<xml>
.........
..........
<one>XXXXXXXXXXXXXXXXXXXX</one>
......
Anyone ?Thank you (7 Replies)
Discussion started by: pujansrt
7 Replies
9. UNIX for Advanced & Expert Users
Hello all!
Is there a way or a utility to trace any kind of file changes in a particular directory on any UNIX machine?
The purpose is that in Unix, there are multiple ways of opening and making changes to a file. But internally, there must be something common (a single pipe, etc.) that is... (3 Replies)
Discussion started by: gupta_ca
3 Replies
10. Shell Programming and Scripting
grep -il "TEST" ${ENVIRON}/*.pde| while read pde
do
cat $pde | sed s/"TEST 3,1"/"TEST 3,0"/g | sed s/"TEST 3,1"/"TEST 3,0"/g > ${pde}.tmp
if ; then
mv ${pde}.tmp $pde ... (2 Replies)
Discussion started by: Shakey21
2 Replies