XFPT(1)
π XFPT(1) β the General Commands Manual glow-up π
okay bestie, pull up a chair, because we're about to talk about xfpt π
(that's section 1 of the General Commands Manual, for the record β she's official, she's documented, she's that girl).
β¨ NAME β¨
xfpt β make XML from plain text π¦
πΈ SYNOPSIS πΈ
xfpt [options] [source file]
π DESCRIPTION π
so basically, xfpt takes a marked up text file and turns it into XML. no cap. it's giving "glow up via formatting" and we're obsessed. π
the markup is simple, like genuinely lowkey adorable, and it comes in two flavors:
- lines that begin with a dot β these are called "directive lines" π
- sequences in the text that begin with an ampersand β these are called "flags" β¨
and here's the tea: the flag sequences are not built-in. they're defined by directives. so like, you make the rules, you set the vibe, you run the show. π«Ά
as well as the in-built directives, macros can be used to implement higher level concepts β highkey iconic behavior.
a standard set of macros and flags that generate DocBook XML is provided, so if that's your thing, slay. π
there's a full description in the xfpt specification, which is distributed as a PDF file, an HTML file, and as xfpt source. so many formats, so many ways to read her. πβ¨
π OPTIONS π
-helpor--helpβ this causesxfptto output its "usage" information and then exit. she's telling you how she works, and then she's leaving. main character exit. πͺβ¨-ofile β this specifies the output file. the default is the standard output if no source file is given, and the source file name with a.xmlextension otherwise. so if you don't say where it goes, she picks for you. π-Sdirectory β this specifies an alternative "share" directory in which to find standard configuration files. relocation era. π¦-vor--versionβ output thexfptversion and exit. a little "hi, it's me" moment. π
π AUTHOR π
Philip Hazel Retired from University Computing Service Cambridge, England.
Last updated: 08 March 2023 πΈ Copyright (c) 2023 University of Cambridge. π
and that's the whole page bestie, XFPT(1) out. mwah. π
ππ¦
π¦ where this page comes from
- debian trixie: xfpt 1.00-3
- ubuntu noble: xfpt 1.00-2
- ubuntu noble: xfpt 1.00-2ubuntu0.24.04.1
- ubuntu questing: xfpt 1.00-3
- ubuntu resolute: xfpt 1.00-3build1
- ubuntu stonking: xfpt 1.00-3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms