03-02-2015
It has nothing to do with BBCode, but with how browsers turn <textarea>'s into rich-text areas that render text like a word processor would. Then, when refreshed vB would interpret that "rich text" and replace the contents with BBCode (i.e. replacing
THIS with [b][i]THIS[/i][/b].
FireFox does it, and it drives me up the wall (one of about 17 reasons I can't use that annoying browser
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
)
These 2 Users Gave Thanks to Scott For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am having a file containing entries like:
.iso.org.dod.internet.mgmt.mib-2.system.sysName.0
.iso.org.dod.internet.mgmt.mib-2.system.sysLocation.0
.iso.org.dod.internet.mgmt.mib-2.system.sysServices.0
.iso.org.dod.internet.mgmt.mib-2.system.sysORLastChange.0... (16 Replies)
Discussion started by: esham
16 Replies
2. UNIX for Dummies Questions & Answers
I have a file like this with 1 lac lines.
1
2
3
4
5
6
7
8
9
0
I would like to format the above text file
1 2
3 4
5 6
7 8
9 0 (7 Replies)
Discussion started by: aravindj80
7 Replies
3. UNIX for Dummies Questions & Answers
Hi all!
I'm new in unix, and faced with some difficulties.
So I have text file f.e. "textfile" which contains rows like:
aaa
bbb
ccc
ddd
How could I format it, so the file looks like:
aaabbb
cccddd
Thanks in andvance (5 Replies)
Discussion started by: consta.v
5 Replies
4. Shell Programming and Scripting
Hi, any idea
input:
mr.smith stvenson: /address #/tel no/ personal data profile.
mrs.smith stevenson: /address #/tel no/occupation/ personal data profile.
output:
mr.smith stvenson
address #:
tel no:
personal data profile.
mrs.smith stevenson
address #:
tel no:
occupation:... (7 Replies)
Discussion started by: kenshinhimura
7 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have the following lines in a text file:
/var/spool/postfix/defer/1/15C86B0547C
/var/spool/postfix/defer/1/19AD1B054A2
/var/spool/postfix/defer/2/25A16B05493
/var/spool/postfix/defer/6/626FBB05496
/var/spool/postfix/defer/6/634D4B0544A
/var/spool/postfix/defer/6/6A8ACB05499... (2 Replies)
Discussion started by: mojoman
2 Replies
6. Shell Programming and Scripting
I have an input file as below.
1
Sanjib
Gayen
2
Chetan
Jadhav
3
Vijaykumar
Uddi
4
Pinaki
Sarkar
I want to generate an output file as below.
1-Sanjib Gayen
2-Chetan Jadhav (4 Replies)
Discussion started by: R0H0N
4 Replies
7. Shell Programming and Scripting
A folder is having n number of files each file is having column names in it .Hence using below code .
for file in /xxx/sss/*
do
filename=$( basename $file )
sed -e '1,2d; $d; /^*$/d; /selected\.$/d' ${file} | \
sed -e '1s/^/INSERT INTO '${filename}' VALUES (/; $!s/$/,/; $s/$/);/'... (6 Replies)
Discussion started by: rocking77
6 Replies
8. Shell Programming and Scripting
I am generating the o/p as:
BLANSWER 112747 112747
TBLQSTN 983 692
INITIATIVE 35 35
PAIGN 3122 3538
IGNCONTACT 90136 93534
IGNGROUP 27 27
AIGNSTEP 16899 20437
AIGNTYPE ... (1 Reply)
Discussion started by: karumudi7
1 Replies
9. Shell Programming and Scripting
I have bunch of files with data's like below.
archive.log.0104
ar0104_akl
ar0731_rln
ar0731_rsl
M70148I need to compile all those files into a single file(.xls file) in the below format.
1st row is file name - should come in 1st column in excel
In 2 - 4 row, all entries starts with... (13 Replies)
Discussion started by: vasanth_123
13 Replies
10. Shell Programming and Scripting
Hi,
I am new to this forum; I need a help for my scripting problem.
I have made a script in Unix which is extracting a report but the issue is that report is not in a proper format.
Original Report Ex:
Field 1....................... a b c d e f g
Field 2............. @ID.@ID
Field... (4 Replies)
Discussion started by: tush
4 Replies
LEARN ABOUT DEBIAN
padre::browser
Padre::Browser(3pm) User Contributed Perl Documentation Padre::Browser(3pm)
NAME
Padre::Browser -- documentation browser for Padre
DESCRIPTION
Provide an interface for retrieving / generating documentation, resolving terms to documentation (search?) and formatting documentation.
Allow new packages to be loaded and interrogated for the MIME types they can generate documentation for. Provide similar mechanism for
registering new documentation viewers and URI schemes accepted for resolving.
NOTE: I think all the method names are wrong. Blast it.
SYNOPSIS
# Does perlish things by default via 'Padre::Browser::POD'
my $browser = Padre::Browser->new;
my $source = Padre::Document->new( filename=>'source/Package.pm' );
my $docs = $browser->docs( $source );
# $docs provided by Browser::POD->generate
# should be Padre::Browser::Document , application/x-pod
my $output = $browser->browse( $docs );
# $output provided by Browser::POD->render
# should be Padre::Document , text/x-html
$browser->load_viewer( 'Padre::Browser::PodAdvanced' );
# PodAdvanced->render might add an html TOC in addition to
# just pod2html
my $new_output = $browser->browse( $docs );
# $new_output now with a table of contents
METHODS
new
Boring constructor, pass nothing. Yet.
load_provider
Accepts a single class name, will attempt to auto-use the class and interrogate its "provider_for" method. Any MIME types returned will be
associated with the class for dispatch to "generate".
Additionally, interrogate class for "accept_schemes" and associate the class with URI schemes for dispatch to "resolve".
load_viewer
Accepts a single class name, will attempt to auto-use the class and interrogate its "viewer_for" method. Any MIME types returned will be
associated with the class for dispatch to "render".
resolve
Accepts a URI or scalar
browse
accept
EXTENDING
package My::Browser::Doxygen;
# URI of doxygen:$string or doxygen://path?query
sub accept_schemes {
'doxygen',
}
sub provider_for {
'text/x-c++src'
}
sub viewer_for {
'text/x-doxygen',
}
sub generate {
my ($self,$doc) = @_;
# $doc will be Padre::Document of any type specified
# by ->provider_for
# push $doc through doxygen
# ...
# that was easy :)
# You know your own output type, be explicit
my $response = Padre::Document->new;
$response->{original_content} = $doxygen->output;
$response->set_mimetype( 'text/x-doxygen' );
return $response;
}
sub render {
my ($self,$docs) = @_;
# $docs will be of any type specified
# by ->viewer_for;
## turn $docs into doxygen(y) html document
# ...
#
my $response = Padre::Document->new;
$response->{original_content} = $doxy2html->output;
$response->set_mimetype( 'text/x-html' );
return $response;
}
perl v5.14.2 2012-06-27 Padre::Browser(3pm)