Hi,
I have a file that has several values seperated by ":"
2006:John:Student:Football:Portugal:Cinema
2006:James:Engineer:Basket:Poland:Theatre
2007:Lucy:Diver:Gymnastic:England:Music
2007:Smith:Plumber:Basket:Spain:Poker
I need make a filter based on the 5th field to find countries that... (1 Reply)
HI,
Your help was great: awk -F":" '$5 ~ /^P/{print }' file
I would like to know what changes need to be done to this line code, so that I can put it in a shell script and call it as the example below.
example: countries that start with chacater 'P'
> country P
Result:
... (0 Replies)
Hi Guys,
I like to search on a particular column for a string.
This is my file
503018," 215/55HR18 BSW","Y"," ",20080204,20080204," ","T2456GH"
503019," 215/60HR17 BSW","Y"," ",20080204,20080204," ","T2456GH"
503020," 225/55R19 BSW","Y"," ",20080204,20080204," ","T2456GH"
505023,"... (1 Reply)
I have a text file names test2 with 3 columns as below . We have to retrieve the distinct values (not duplicate) from 2nd column and display. I have used the below command but giving some error.
NS3303 NS CRAFT LTD
NS3303 NS CHIRON VACCINES LTD
NS3303 NS ALLIED MEDICARE LTD
NS3303 NS... (16 Replies)
I am trying to retrieve that max 'year' in a text file that is delimited by tilde (~). It is the second column and the values may be in Char format (double quoted) and have duplicate values.
Please help. (4 Replies)
Hi Guys,
I am trying to write a perl script to search a string "Name" in the file "FILE" and also want to create a new file and push the searched string Name line along with 10 lines following the same.
can anyone of you please let me know how to go about it ? (8 Replies)
hi guys,
how to retrieve "empty" value in column3 and column6 in the following text
$ cat myfile.txt
COL1 COL2 COL3 COL4 COL5
val1 long_value_name_that_takes_space value4 val5
COL6 COL7 ... (1 Reply)
Hi, I have a file with +/- 13000 lines and 4 column. I need to search the 3rd column for a word that begins with "SAP-" and move/skip it to the next column (4th). Because the 3rd column need to stay empty.
Thanks in advance.:)
89653 36891 OTR-60 SAP-2
89653 36892 OTR-10 SAP-2... (2 Replies)
I have requirement to search for a text in the file and retrieve required lines that is user defined with unix command.
Eg:
Find the text UNIX in the below file and need to return Test 8 & Test 9
Test 1
Test 2
Test 3
Test 4
UNIX
Test 5
Test 6
Test 7
Test 8
Test 9
Result can... (8 Replies)
Discussion started by: Arunkumarsak4
8 Replies
LEARN ABOUT DEBIAN
html::wikiconverter::snipsnap
HTML::WikiConverter::SnipSnap(3pm) User Contributed Perl Documentation HTML::WikiConverter::SnipSnap(3pm)NAME
HTML::WikiConverter::SnipSnap - Convert HTML to SnipSnap markup
SYNOPSIS
use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'SnipSnap' );
print $wc->html2wiki( $html );
DESCRIPTION
This module contains rules for converting HTML into SnipSnap markup. See HTML::WikiConverter for additional usage details.
AUTHOR
David J. Iberri, "<diberri at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-html-wikiconverter-snipsnap at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-SnipSnap>. 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::SnipSnap
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/HTML-WikiConverter-SnipSnap>
o CPAN Ratings
<http://cpanratings.perl.org/d/HTML-WikiConverter-SnipSnap>
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-SnipSnap>
o Search CPAN
<http://search.cpan.org/dist/HTML-WikiConverter-SnipSnap>
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.10.0 2006-01-10 HTML::WikiConverter::SnipSnap(3pm)