Sponsored Content
Top Forums Shell Programming and Scripting Commenting a block of code in xml where the tags may be similar Post 302849817 by learnbash on Tuesday 3rd of September 2013 11:29:41 AM
Old 09-03-2013
Please post detail what kind of output you want?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to execute the rest of the code after commenting multiple lines?

Hi, As I have seen in this forum how to comment multiple lines in the script, but it does not work properly for me. It is blocking the code but it does not execute the rest of the codes. This is my code #! /usr/bin/ksh month='date +"m%"' : << Comments Block if || then echo "inc =... (12 Replies)
Discussion started by: Yamini Thoppen
12 Replies

2. Shell Programming and Scripting

Commenting xml file lines

Hi , I have a XML file like this <dependency> <groupId>fr.xxxx.portail.ear</groupId> <artifactId>_xxxEAR</artifactId> <version>1.0.0-20xxxxx.xxxxx-x</version> <type>ear</type> </dependency> I need to comment single/multiple lines from XML file. How can i... (6 Replies)
Discussion started by: scorpio
6 Replies

3. UNIX and Linux Applications

Commenting out block of code in emacs in python mode

Hi, I am not sure if this is the right forum to post an emacs question, but if you could point me to an appropriate emacs forum that would be useful too. Anyway, here is the description of the problem: I usually develop python code with emacs, emacs being in python code. On my desktop a... (0 Replies)
Discussion started by: alex57326
0 Replies

4. Shell Programming and Scripting

Replacing part of XML code inside comment tags

Hello! I'd like to modify custom values in a XML config file between comment tags using bash script. <feature> <keyboardshortcut>C-m</keyboardshortcut> <option1>disabled</option2> <option2>enabled</option2> </feature> <!-- bash script features START --> <feature> ... (2 Replies)
Discussion started by: prism1
2 Replies

5. UNIX for Dummies Questions & Answers

Code commenting Problems in shell scripting

Hi Friends, I Want to comment one line of code from below code. DBA_ORACLE_USER=`DB.sh -u -a User` DBA_ORACLE_PWORD=`DB.sh -p -a User` sqlplus /nolog <<-END > ${logfile} 2>&1 WHENEVER OSERROR EXIT 9 WHENEVER SQLERROR EXIT SQL.SQLCODE connect... (3 Replies)
Discussion started by: as234301
3 Replies

6. Shell Programming and Scripting

How to add the multiple lines of xml tags before a particular xml tag in a file

Hi All, I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me. <A>testing_Location</A> <value>LA</value> <zone>US</zone> <B>Region</B> <value>Russia</value> <zone>Washington</zone> <C>Country</C>... (0 Replies)
Discussion started by: mjavalkar
0 Replies

7. Shell Programming and Scripting

Shell Command to compare two xml lines while ignoring xml tags

I've got two different files and want to compare them. File 1 : HTML Code: <response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record... (1 Reply)
Discussion started by: Shaishav Shah
1 Replies

8. Shell Programming and Scripting

How to add Xml tags to an existing xml using shell or awk?

Hi , I have a below xml: <ns:Body> <ns:result> <Date Month="June" Day="Monday:/> </ns:result> </ns:Body> i have a lookup abc.txtt text file with below details Month June July August Day Monday Tuesday Wednesday I need a output xml with below tags <ns:Body> <ns:result>... (2 Replies)
Discussion started by: Nevergivup
2 Replies

9. UNIX for Beginners Questions & Answers

How to pull multiple XML tags from the same XML file in Shell.?

I'm searching for the names of a TV show in the XML file I've attached at the end of this post. What I'm trying to do now is pull out/list the data from each of the <SeriesName> tags throughout the document. Currently, I'm only able to get data the first instance of that XML field using the... (9 Replies)
Discussion started by: hungryd
9 Replies
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, MetadataLibraryrF__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator(3)

NAME
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator - SYNOPSIS
Inherits __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator. Public Types typedef _Alloc::difference_type difference_type typedef std::forward_iterator_tag iterator_category typedef node_pointer_pointer pointer typedef node_pointer_reference reference typedef node_pointer value_type Public Member Functions iterator (node_pointer_pointer p_p_cur=0, node_pointer_pointer p_p_end=0) bool operator!= (const const_iterator &other) const bool operator!= (const iterator &other) const node_const_pointer operator* () const node_pointer operator* () iterator & operator++ () iterator operator++ (int) const node_pointer_pointer operator-> () const node_pointer_pointer operator-> () bool operator== (const const_iterator &other) const bool operator== (const iterator &other) const Public Attributes node_pointer_pointer m_p_p_cur node_pointer_pointer m_p_p_end Detailed Description template<typename _ATraits, typename Metadata>struct __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator Child iterator. Definition at line 320 of file pat_trie_base.hpp. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator(3)
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy