hi all,
i searched in unix.com and accquired the following commands for extracting specific lines from a file ..
sed -n '16482,16482p' in.sql > out.sql
awk 'NR>=10&&NR<=20' in.sql > out.sql....
these commands are working fine if i give the line numbers as such .. but if i pass a... (2 Replies)
Greetings,
I am very new to the UNIX shell scripting and would like to learn. However, I am currently stuck on how to process the below sample of code from an XML file using UNIX comands:
<ATTRIBUTE NAME="Memory" VALUE="512MB"/>
<ATTRIBUTE NAME="CPU Speed" VALUE="3.0GHz"/>
<ATTRIBUTE... (5 Replies)
Hello,
i've got this output text:
and i need it to look something like this:
which means that there won't be absolute path of each directory, just it's size and the last word after last '/' in each line, and i also don't need last line '1.7M /tmp'
Looks like there is a simple... (5 Replies)
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
I have a table to data which one of the columns include string of text
from within that, I am searching to include few lines but not others
for example I want to to include some combination of word address such as (address.| address? |the address | your address) but not (ip address | email... (17 Replies)
I need help extracting specific lines in a text file. The file looks like this:
POSITION TOTAL-FORCE (eV/Angst)
-----------------------------------------------------------------------------------
1.86126 1.86973 1.86972 ... (14 Replies)
Hi
I am new to string extractions in shell script... I am trying to extract a string such as #1753 from html tag looks like below.
<a class="model-link tl-tr" href="lastSuccessfulBuild/">Last successful build (#1753), 40 min ago</a>
and want the value as
1753
Could someone help me to... (3 Replies)
Hi Forum.
I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script.
Any feedback will be greatly appreciated.
... (19 Replies)
Discussion started by: pchang
19 Replies
LEARN ABOUT DEBIAN
html::prototype::helper::tag
HTML::Prototype::Helper::Tag(3pm) User Contributed Perl Documentation HTML::Prototype::Helper::Tag(3pm)NAME
HTML::Prototype::Helper::Tag - Defines a tag object needed by HTML::Prototype
SYNOPSIS
use HTML::Prototype::Helper;
DESCRIPTION
Defines a tag object needed by HTML::Prototype
REMARKS
Until version 1.43, the internal function $self-_tag> used $tag-as_XML> as its return value. By now, it will use $tag-as_HTML( $entities )>
to invokee HTML::Entities::encode_entities. This behaviour can be overridden by setting $HTML::Prototype::Helper::Tag::USE_ASXML_FOR_TAG to
1.
METHODS
HTML::Prototype::Helper::Tag->new( $object_name, $method_name, $template_object, $local_binding, $object )
$tag->object_name( [$object_name] )
$tag->method_name( [$method_name] )
$tag->template_object( [$template_object] )
$tag->local_binding( [$local_binding] )
$tag->object( [$object] )
$tag->value( )
$tag->value_before_type_cast( )
$tag->to_input_field_tag( $field_type, \%options )
$tag->to_content_tag( $tag_name, $value, \%options )
SEE ALSO
HTML::Prototype, <http://prototype.conio.net/>
AUTHOR
Sascha Kiefer, "esskar@cpan.org"
Built around Prototype by Sam Stephenson. Much code is ported from Ruby on Rails javascript helpers.
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
perl v5.10.1 2006-05-22 HTML::Prototype::Helper::Tag(3pm)