12-20-2011
Hey guys thanks all of you.
tried all and the all work.
and I did try to search but did not find the links you provided
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, this is a pretty intersting problem, I would like to convert a list of words into a concatenated string of words with whitespace between each word.
e.g file list :-
hello
how
are
you
today
convert into
hello how are you today.
What command would I use to do this?
Thanks (2 Replies)
Discussion started by: zulander
2 Replies
2. Shell Programming and Scripting
Hi All
I have a script which has produced a list, I have used 'sed' to number my list, but i want to list at end of line with the first line starting at zero (0) and brackets round it
ie
My List i want
Hello (0)
this (1)
day (2)
can (3)
be (4)
sed '/./=' filename | sed '/./N; s/\n/) /'... (5 Replies)
Discussion started by: chassis
5 Replies
3. Shell Programming and Scripting
Hello,
I have a logfile which is in this format:
1211667249500#3265
1211667266687#2875
1211667270781#1828
Is there a way to read the logfile line by line every time I execute the code and put the two numbers in the line in two separate variables?
Something like:
1211667249500#3265... (7 Replies)
Discussion started by: dejavu88
7 Replies
4. Shell Programming and Scripting
I know this has been asked before but I just can't parse the syntax as explained. I have a set of files that has user information spread out over two lines that I wish to merge into one:
User1NameLast User1NameFirst User1Address
E-Mail:User1email
User2NameLast User2NameFirst User2Address... (11 Replies)
Discussion started by: walkerwheeler
11 Replies
5. Shell Programming and Scripting
Hello folks
I have a txt file of information about journal articles from different fields. I need to convert this information into a format that is easier for computers to manipulate for some research that I'm doing on how articles are cited. The file has some header information and then details... (8 Replies)
Discussion started by: ksk
8 Replies
6. Shell Programming and Scripting
#cat file
aa
bb
cc
dd
ee
77
dd
gg
xx
I want to get: when VAR="zzz D" get below out put (7 Replies)
Discussion started by: yanglei_fage
7 Replies
7. Shell Programming and Scripting
Hello,
Can somone help with this command please?
I have this output pattern in a file. I use a simple awk command to
print each field separated by comma. For example I use this to get the first
awk -F, "{ print $1 }"
"ABC=abcdefg,CDF=mnqrst,GGG=hrvyess"
issue:
What I... (7 Replies)
Discussion started by: mnassiri
7 Replies
8. Shell Programming and Scripting
Dear Unix Experts :),
Below is a small section of a large file with the following list:
1. Starts with string " interest" as the heading
2. Followed by a list of activities
3. Ends with a blank line before starting with another different list.
E.g.
Sporting interest
football... (13 Replies)
Discussion started by: gjackson123
13 Replies
9. Shell Programming and Scripting
Hi,
I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :-
./sample.sh: line... (12 Replies)
Discussion started by: satishmallidi
12 Replies
10. Shell Programming and Scripting
All, I appreciate any help you can offer here as this is well beyond my grasp of awk/sed...
I have an input file similar to:
&LOG
&LOG Part: "@DB/TC10000021855/--F"
&LOG
&LOG
&LOG Part: "@DB/TC10000021852/--F"
&LOG Cloning_Action: RETAIN
&LOG Part: "@DB/TCCP000010713/--A"
&LOG
&LOG... (5 Replies)
Discussion started by: KarmaPoliceT2
5 Replies
LEARN ABOUT DEBIAN
html::wikiconverter::dokuwiki
HTML::WikiConverter::DokuWiki(3pm) User Contributed Perl Documentation HTML::WikiConverter::DokuWiki(3pm)
NAME
HTML::WikiConverter::DokuWiki - Convert HTML to DokuWiki markup
SYNOPSIS
use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'DokuWiki' );
print $wc->html2wiki( $html );
DESCRIPTION
This module contains rules for converting HTML into DokuWiki markup. See HTML::WikiConverter for additional usage details.
ATTRIBUTES
In addition to the regular set of attributes recognized by the HTML::WikiConverter constructor, this dialect also accepts the following
attributes:
camel_case
Boolean indicating whether CamelCase links are enabled in the target DokuWiki instance. Enabling CamelCase links will turn HTML like this
<p><a href="/wiki:camelcase">CamelCase</a> links are fun.</p>
into this DokuWiki markup:
CamelCase links are fun.
Disabling CamelCase links (the default) would convert that HTML into
[[CamelCase]] links are fun.
AUTHOR
David J. Iberri, "<diberri at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-html-wikiconverter-dokuwiki at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-DokuWiki <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-
WikiConverter-DokuWiki>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc HTML::WikiConverter::DokuWiki
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/HTML-WikiConverter-DokuWiki <http://annocpan.org/dist/HTML-WikiConverter-DokuWiki>
o CPAN Ratings
http://cpanratings.perl.org/d/HTML-WikiConverter-DokuWiki <http://cpanratings.perl.org/d/HTML-WikiConverter-DokuWiki>
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-DokuWiki <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-
DokuWiki>
o Search CPAN
http://search.cpan.org/dist/HTML-WikiConverter-DokuWiki <http://search.cpan.org/dist/HTML-WikiConverter-DokuWiki>
COPYRIGHT & LICENSE
Copyright 2006 David J. Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2007-11-26 HTML::WikiConverter::DokuWiki(3pm)