04-10-2008
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I'm working on a project modifying XML files in Unix and, I would like to use sed to change these values. For example, I've got a tag <book>354678209<\book> and I want to replace the value 354678209 with a another value without having to go into the file and change it manually. How can I do... (3 Replies)
Discussion started by: stonemonolith
3 Replies
2. Shell Programming and Scripting
Hi
My xml has element like below
<BOOK>:</BOOK>
If i wanna replace ":</BOOK>" with ": </BOOK>" i.e 3 spaces added.
what should be the search pattern?
I tried with "?:\<\/BOOK\>", but its not working in SED. Can someone suggest what would be the search patter looks like ?
Thanks (1 Reply)
Discussion started by: braindrain
1 Replies
3. UNIX for Dummies Questions & Answers
Here's a challenge for you wizards...
I have a file formatted as follows;
$
What I need to output is;
87654321 Bobby One
12345678 Bobby One
09876543 Bobby One
1107338 Bobby! Two
Any Ideas how I can do this? I've tried sed but I'm not sure if perl might be a better way to... (2 Replies)
Discussion started by: th3g0bl1n
2 Replies
4. Shell Programming and Scripting
Hi all,
Thanks in advanced.
This question really bothered me much. What i want is to replace any times of repeated 'TB' to 'T', below is example.
It can be fullfil by AWK and perl, but my desire is using SED to realize it.
So here means we treat TB as a whole part, which means 's/TB*/T/'... (4 Replies)
Discussion started by: summer_cherry
4 Replies
5. Shell Programming and Scripting
I have the following string:
<min-pool-size>2</min-pool-size>
When I pipe the string into the following code I am expcting for it to return just the value "2", but its just reurning the whole string. Why??
sed -n '/<min-pool-size>/,/<\/min-pool-size>/p'
Outputting:... (13 Replies)
Discussion started by: ArterialTool
13 Replies
6. Shell Programming and Scripting
I am trying to edit an XML file with sed, and I can successfully do so, but the resulting file no longer opens as an XML file?
I am working on a project to automate DVD authoring. I am using DVD Studio Pro, which uses XML files as its instructions for DVD authoring. I've worked out a... (2 Replies)
Discussion started by: Starcast
2 Replies
7. Shell Programming and Scripting
Hi all,
I have a xml file like below,
<JavaArgs>
<containerSet>
<container id="333">
<JavaArgs>
Very Big String
</Javargs>
</container>
<container id="334">
... (5 Replies)
Discussion started by: nasbtv
5 Replies
8. Shell Programming and Scripting
I have an xml file that generally looks like this:
"<row><dnorpattern>02788920</dnorpattern><description/></row><row><dnorpattern>\+
44146322XXXX</dnorpattern><description/></row><row><dnorpattern>40XXX</dnorpattern><description/></row><row><dnorpattern>11</dn... (4 Replies)
Discussion started by: garboon
4 Replies
9. UNIX for Advanced & Expert Users
I have a log with entries like:
out/target/product/imx53_smd/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8HTMLVideoElement.cpp
: target thumb C++: libwebcore <=... (8 Replies)
Discussion started by: glev2005
8 Replies
10. Shell Programming and Scripting
Hi all, need some help seeing the bug in my SED
Source XML
<SMART_FOLDER JOBISN="1" SUB_APPLICATION="PMT-APB" MEMNAME="Job0" JOBNAME="PMT-APB" FOLDER_NAME="PMT-APB">
</SMART_FOLDER>
My SED Command
sed -e 's/\(<SMART_FOLDER \)\(.*FOLDER_NAME="PMT-APB"\)/\FOLDER_ORDER_METHOD="PCI" \2/' <... (0 Replies)
Discussion started by: J-Man
0 Replies
LEARN ABOUT DEBIAN
calligrastage
CALLIGRASTAGE(1) office CALLIGRASTAGE(1)
NAME
CalligraStage - Calligra Presentation Tool
SYNOPSIS
calligrastage [Qt-options] [KDE-options] [Calligra-options] [file]
DESCRIPTION
Stage is an easy to use yet still flexible presentation application. You can easily create presentations containing a rich variety of ele-
ments, from graphics to text, from charts to images. Stage is extensible through a plugin system, so it is easy to add new effects, new
content elements or even new ways of managing your presentation.
OPTIONS
file File to open
Generic options:
--help Show help about options
--help-qt
Show Qt specific options
--help-kde
Show KDE specific options
--help-all
Show all options
--author
Show author information
-v, --version
Show version information
--license
Show license information
SEE ALSO
More detailed user documentation is available from help:/calligrastage (either enter this URL into Konqueror, or run khelpcenter help:/cal-
ligrastage).
AUTHOR
This manual page was written by Adrien Grellier <adrien.grellier@laposte.net> for the Debian project (but may be used by others).
11 septembre 2011 CALLIGRASTAGE(1)