Sponsored Content
The Lounge What is on Your Mind? Which category do you belong to? Post 302988902 by jlliagre on Wednesday 4th of January 2017 08:39:40 PM
Old 01-04-2017
"To know that one knows what one knows, and to know that one doesn't know what one doesn't know, there lies true wisdom." Confucius ;-)
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

listing files that do not belong to current date

How do we list all the file names in a directory that does not belong to current date. (1 Reply)
Discussion started by: esh.mohan
1 Replies

2. UNIX for Dummies Questions & Answers

listing files that does not belong to current date

How do we list all the file names in a directory that does not belong to current date. (3 Replies)
Discussion started by: esh.mohan
3 Replies

3. Post Here to Contact Site Administrators and Moderators

How to change the category?

Hi, I submitted my blog on UNIX in the links section. On submitting, i chose the category as Unix/Linux standards, which i now feel is incorrect. I would like to change the category of my link, but i don't find any option to change the category. Please help me in doing the needful. Thanks... (7 Replies)
Discussion started by: guruprasadpr
7 Replies

4. Shell Programming and Scripting

Split file into given category and others using awk

Hi All, Would it be possible using awk to split a given file into two files based on a certain condition such that one output file will contain all lines that fit the condition while the other output file will contain lines that did not fit the condition? Here is a sample input file ... (6 Replies)
Discussion started by: cympaulife
6 Replies

5. Shell Programming and Scripting

Listing files that belong to a certain year date?

I'm trying to list files, first by size and I'm using something like this ls -l|awk '{print $5,$6,$7,$8,$9|"sort -nr"}'|more Now I'd like to just do the same listing but only for files with the year 2009 in the $8 field or even anything less than 2011. (5 Replies)
Discussion started by: NycUnxer
5 Replies

6. Shell Programming and Scripting

extract the max value category

Hi, I have a file and I want the category for each row to be its highest value. gene highest medium lower lowest ABC 20 30 50 70 DEF 90 20 60 0 o/p gene highest medium lower lowest category ABC... (6 Replies)
Discussion started by: Diya123
6 Replies

7. UNIX for Dummies Questions & Answers

ldap , search groups that user belong

i want run query to identify witch groups that user A belong, CN=name,CN=Users,DC=mydomain ?? (1 Reply)
Discussion started by: prpkrk
1 Replies

8. Shell Programming and Scripting

Data filtering and category assigning

Please consider the following file, I have many groups which can be of 3 types, T1 (Serial_Number 1) T2 (Serial_Number 2) and T1*T2 (all other Serial_Number). I want to only consider groups that have both T1 and T2 present and their values are different from each other. In the example file,... (8 Replies)
Discussion started by: jianp83
8 Replies

9. Shell Programming and Scripting

Category and count with awk

I want to categorize and count the as below: Input file: A1 G1 C1 F1 A2 G1 C1 F1 A3 G1 C1 F2 A4 G1 C2 F2 A7 G1 C2 F2 A8 G1 C2 F3 A11 G1 C2 F3 A23 G1 C2 F3 B4 G1 C2 F3 AC4 G2 C3 F4 B6 G2 C4 F4 BB5 G2 C4 F4 A25 G2 C5 F4 B13 G2 C5 F5 D12 G2 C5 F5 D2 G2 C5 F5 (3 Replies)
Discussion started by: aydj
3 Replies

10. UNIX for Beginners Questions & Answers

Delete records that do not belong to that day

i have a requirement to delete records that do not belong to that day. For example in a file that came on July 31st ,2018 there are records that belong to Aug 1st,2018 as well and I want to find and delete those records. I want to delete anything with 01-Aug-2018. I have several files like that. I... (6 Replies)
Discussion started by: Priya
6 Replies
Xacobeo::Utils(3pm)					User Contributed Perl Documentation				       Xacobeo::Utils(3pm)

NAME
Xacobeo::Utils - Utilities. SYNOPSIS
use Xacobeo::Utils qw(:dom :xml); if (isa_dom_text($node)) { my $text = escape_xml_text($node->nodeValue); print "$text "; } DESCRIPTION
This package provides utility functions that are shared among the different modules in this project. IMPORTS
The following import tags are defined: :xml Import the XML utilities. :dom Imports the DOM utilities. FUNCTIONS
The following functions are available: escape_xml_text Escapes the text as if would be added to a Text node. This function escapes only the entities <, > and &. Parameters: o $string The string to escape. escape_xml_attribute Escapes the text as if would be added to an Attribute. This function escapes the entities <, >, &, ' and ". Parameters: o $string The string to escape. isa_dom_document Returns true if the node is a DOM "Document" (instance of XML::LibXML::Document). Parameters: o $node The node to check. isa_dom_element Returns true if the node is a DOM "Element" (instance of XML::LibXML::Element). Parameters: o $node The node to check. isa_dom_attr Returns true if the node is a DOM "Attribute" (instance of XML::LibXML::Attr). Parameters: o $node The node to check. isa_dom_nodelist Returns true if the node is a DOM "NodeList" (instance of XML::LibXML::NodeList). Parameters: o $node The node to check. isa_dom_text Returns true if the node is a DOM "Text" (instance of XML::LibXML::Text). NOTE: XML::LibXML considers that "Comment" and "CDATA" nodes are also "Text" nodes. This method doesn't consider a "Comment" nor a "CDATA" node as being "Text" nodes. Parameters: o $node The node to check. isa_dom_comment Returns true if the node is a DOM "Comment" (instance of XML::LibXML::Comment). Parameters: o $node The node to check. isa_dom_node Returns true if the node is a DOM "Node" (instance of XML::LibXML::Node). Parameters: o $node The node to check. isa_dom_pi Returns true if the node is a DOM "PI" (also known as: processing instruction) (instance of XML::LibXML::PI). Parameters: o $node The node to check. isa_dom_dtd Returns true if the node is a DOM "DTD" (instance of XML::LibXML::Dtd). Parameters: o $node The node to check. isa_dom_cdata Returns true if the node is a DOM "CDATASection" (instance of XML::LibXML::CDATASection). Parameters: o $node The node to check. isa_dom_namespace Returns true if the node is a "Namespace" (instance of XML::LibXML::Namespace). NOTE: The DOM doesn't define an object type named "Namespaces" but XML::LibXML does so this function is named 'isa_dom' for consistency with the other functions. Parameters: o $node The node to check. isa_dom_literal Returns true if the node is a "Literal" (instance of XML::LibXML::Literal). NOTE: The DOM doesn't define an object type named "Literal" but XML::LibXML does so this function is named 'isa_dom' for consistency with the other functions. Parameters: o $node The node to check. isa_dom_boolean Returns true if the node is a "Boolean" (instance of XML::LibXML::Boolean). NOTE: The DOM doesn't define an object type named "Boolean" but XML::LibXML does so this function is named 'isa_dom' for consistency with the other functions. Parameters: o $node The node to check. isa_dom_number Returns true if the node is a "Number" (instance of XML::LibXML::Number). NOTE: The DOM doesn't define an object type named "Number" but XML::LibXML does so this function is named 'isa_dom' for consistency with the other functions. Parameters: o $node The node to check. scrollify Wraps a widget in a scrolled window. Parameters: o $widget The widget to wrap. o $width The width of the scroll window. If "undef" then -1 will be used. o $height The height of the scroll window. If "undef" then -1 will be used. AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2008,2009 by Emmanuel Rodriguez. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-16 Xacobeo::Utils(3pm)
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy