10-24-2018
0.0.8 posted, with an important fix for quoting and a small but important change for <? ?> <!-- etc tags. Should digest HTML somewhat better now.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone have any scripts or suggestions on a general purpose Unix/Linux monitoring tool? (5 Replies)
Discussion started by: darthur
5 Replies
2. Shell Programming and Scripting
I am trying to divide a xml file(my.xml) like this:
<?xml version="1.0" encoding="UTF-8"?>
<Proto PName="hmmmmmmm">
<Menu id="A" ver="1">
<P>
<P name="AA" Type="X"/>
<P name="BB" Type="Y"/>
<P name="CC" Type="Z"/>
</P>
... (4 Replies)
Discussion started by: demoprog
4 Replies
3. Shell Programming and Scripting
Hi,
i am really fresh with shell scripting and programming,
i have an issue i am not able to solve to populate data on my server for Cisco IP phones.
I have CSV file within the following format:
;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;... (9 Replies)
Discussion started by: angel2008
9 Replies
4. Programming
Hi everyone,
I have Xml files in a folder, I need to extract some attribute values form xml files and store in a hash. My xml file look like this.
<?xml version="1.0" encoding="UTF-8"?>
<Servicelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"... (0 Replies)
Discussion started by: pavani reddy
0 Replies
5. Shell Programming and Scripting
I need to get all session_ID 's for product="D-0002" from a XML file:
Sample input:
<session session_ID="6411206" create_date="2012-04-10-10.22.13.000000">
<marketing_info>
<program_id>D4AWFU</program_id>
<subchannel_id>abc</subchannel_id>
</marketing_info>
... (1 Reply)
Discussion started by: karumudi7
1 Replies
6. Shell Programming and Scripting
With the following input sample extracted from a xml file
<rel ver="123">
<mod name="on">
<node env="ac" env="1">
<ins ip="10.192.0.1"/>
<ins ip="10.192.0.2"/>
... (1 Reply)
Discussion started by: cabrao
1 Replies
7. UNIX for Beginners Questions & Answers
There must be thousands of one-off solutions scattered around this forum. GNU Date is so handy because it's general but if they're asking they probably don't have it. We have some nice scripts but they tend to need dates formatted in a very particular way.
This is a rough approximation which... (18 Replies)
Discussion started by: Corona688
18 Replies
LEARN ABOUT DEBIAN
test::bdd::cucumber::model::tagspec
Test::BDD::Cucumber::Model::TagSpec(3pm) User Contributed Perl Documentation Test::BDD::Cucumber::Model::TagSpec(3pm)
NAME
Test::BDD::Cucumber::Model::TagSpec - Encapsulates tag selectors
VERSION
version 0.11
DESCRIPTION
Try and deal with the crazy-sauce tagging mechanism in a sane way.
OVERVIEW
Cucumber tags are all sortsa crazy. This appears to be a direct result of trying to shoe-horn the syntax in to something you can use on the
command line. Because 'Cucumber' is the name of a gem, application, language, methodology etc etc etc look of disapproval.
Here is some further reading on how it's meant to work: <https://github.com/cucumber/cucumber/wiki/Tags>. This is obviously a little
insane.
Here's how they work here, on a code level: You pass in a list of lists that look like Lisp expressions, with a function: "and", "or", or
"not". You can nest these to infinite complexity, but the parser is pretty inefficient, so don't do that. The "not" function accepts only
one argument.
eg:
@important AND @billing: "[and =" 'important', 'billing']>
(@billing OR @WIP) AND @important: "[ and =" [ or => 'billing', 'wip' ], 'important' ]>
Skipping both @todo and @wip tags: "[ and =" [ not => 'todo' ], [ not => 'wip' ] ]>
ATTRIBUTES
tags
An arrayref representing a structure like the above.
TagSet->new({
tags => [ and => 'green', 'blue', [ or => 'red', 'yellow' ], [ not => 'white' ] ]
})
METHODS
filter
Filter a list of Scenarios by the value of "tags"
my @matched = $tagset->filter( @scenarios );
If "tags" is empty, no filtering is done.
perl v5.14.2 2012-05-20 Test::BDD::Cucumber::Model::TagSpec(3pm)