wml::fmt::text(3) EN Tools wml::fmt::text(3)NAME
wml::fmt::text - Plain ASCII with Special Formatting Semantic
SYNOPSIS
#use wml::fmt::text
<: print &wml_fmt_text({ FILE => $file, OPTIONS => '--xhtml', ...}); :>
<text notypo>
FOO
===
1. bar
2. quux
a. baz
b. foo
...
</text>
DESCRIPTION
The usage is simple: Surround the text with the "<text>" container tag and then just write plain ASCII text inside it. The corresponding
HTML code is created via txt2html(3), a filter which gives the ASCII text nice formatting semantic which control the HTML result.
If OPTIONS field is specified, a newer txt2html(1) filter is called instead of txt2html, which is dead upstream. This allows for instance
generation of XGTML markup.
The core conversion function is wml_fmt_text() which also can be used by other include files.
ATTRIBUTES
These attributes can be used both in the "<text>" tag (in lowercase letters) and in "wml_fmt_text" arguments, as shown in examples above.
"NOTYPO"
By default, font commands are added to headings to highlight them. This attribute prevents alteration of txt2html output.
"OPTIONS=str"
This attribute performs two actions: select txt2html filter instead of txt2html, and str arguments are passed literally on the command
line of txt2html.
AUTHOR
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
REQUIRES
Internal: P1, P2, P3, txt2html (WML)
External: --
SEE ALSO txt2html(1), txt2html(3)EN Tools 2014-04-16 wml::fmt::text(3)
Check Out this Related Man Page
wml::all(3) EN Tools wml::all(3)NAME
wml::all - WML Include Files Of All Categories
SYNOPSIS
#use wml::all
DESCRIPTION
This includes all existing standard WML include files of all categories. Use it only when you are a really lazy webmaster which just wants
all features WML can provide ;-) It is always better to include one of the "wml::xxx::all" include files.
The following categories currently exists:
Standard (std)
Here you can find all standard tagsets which everybody usually uses all the time.
Webdesign (des)
These are tagsets which help webdesigners of the 3rd generation fighting against the puristic plain HTML. Use with care.
Formatting (fmt)
Here you can find formatting environments, i.e. usually container tags which do special formatting.
Import (imp)
Here you can find import tags, i.e. usually tags which import external data and converts them to HTML.
Support (sup)
Some support stuff which is used in other include files.
System (sys)
All system related stuff.
User (usr)
The user specific include files. Should be extended by the webmaster for his users.
AUTHOR
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
REQUIRES
Internal: P1
External: --
SEE ALSO wml::des::all(3), wml::fmt::all(3), wml::imp::all(3), wml::std::all(3), wml::sup::all(3), wml::sys::all(3), wml::usr::all(3).
EN Tools 2014-04-16 wml::all(3)
Suppose there are multiple files containing certain text "abc". How to print the name of all such files with a single command from unix prompt?
Thanks in advance (6 Replies)
Im currently using execl() to run the ls command and redirect the output to a text file. Unfortunately, when I check the text file, no information has been written to it.
I am calling execl() with the ls command like this
execl( "/bin/ls" , "-al" , '>' , "dirlist.txt" ,(char *) 0 );
... (5 Replies)
How can i have a while loop as follows
while read inputline
do
<task>
done < name_list
and also store the values (delimited) on each line to temp variables so as to print them on screen as follows
while read inputline
do
set name | cut -d "," -f1 name_list # #i know this is not... (1 Reply)
Hi All,
I've written a shell script in which i defined two varibles
for example:
str=1.0.0.15
timeStamp=2008.03.08
now using this varibles i need to modify a text file.
The text content looks like this
************************
* packageNumber : 1.0.0.14 *
* date :... (2 Replies)
Hi All,
I have a requirement to create a formatted text.
That is., I have a plain text composed to send it through an Email using mailx.
I need to change the formatting of the text like BOLD, ITALIC, UNDERINED, COLOURED, INDENT etc.,
First of all, is it possible in UNIX?
If yes, please let... (3 Replies)
Suppose I have a text file that contains the tags <foo> and <bar>. The text file can have unlimted occurances of <foo> and <bar> and looks somthing like this:
<foo>
Some
Text
<foo>
Some
Text
<bar>
Some
Text
<foo>
Some (1 Reply)
Hi,
I am using the following format command for formatting my text file in unix.
awk -F":" '{ printf "%-50s%-1s%-50s\n", $1,":", $2}' filename > targetfile
The target file is then sent as an attachment via email.
When I view the target file in notepad multiple lines get spanned as a... (2 Replies)
Hi unix masters,
Im needing some guidance or a small code to enlight my problem.
Problem Example:
I have 3 different text ascii files. At each file, inside the text
have repeater marks.
--text 1 start--
123 -> mark
anytextanytext
anythinganything
123 ->mark
blahblah
blah
...... (6 Replies)
I have downloaded the latest version of txt2html which is 2.51
ran following command to execute it.
# gunzip txt2html-2.51.tar.gz
#tar -xvf txt2html-2.51.tar
cd txt2html-2.51
# ls -ltr
total 172
-r--r--r-- 1 1000 1000 5 May 4 2008 version.txt
-r--r--r-- 1 1000 1000 1113 May 4 ... (3 Replies)
Hello, I have a situation where I want to change a line of text in multiple files, but the problem is that I want to change the text to something unique for each file.
For example, let's say I have five files named bob.txt, joe.txt, john.txt, tom.txt, and zach.txt. Each of these files has a... (5 Replies)
I need to filter the text in between two patterns and output that to a different file. Please help me how to do it.
Ex:
.............
<some random text>
.............
Pattern_1
<Few lines that need to be output to different file>
Pattern_2
................
...............
<more text in... (4 Replies)