SFCONV(1)
π SFCONV(1) π
General Commands Manual β¨ okay bestie, this is the manual page for sfconv, so let's get into it π
β¨ NAME β¨
sfconv π§ is a tool for converting the encoding of Standard Format (SF) files. Lowkey iconic.
πΈ SYNOPSIS πΈ
π 8-bit to Unicode:
sfconv -8u [-utf8|-be|-le] [-bom] -c ControlFile [-d MappingDirectory]
-i InFile -o OutFile
π Unicode to 8-bit:
sfconv -u8 [-utf8|-be|-le] -c ControlFile [-d MappingDirectory] -i
InFile -o OutFile
π¦ DESCRIPTION π¦
So a tool for converting Standard Format (SF) files is included in the current TECkit package π
This is sfconv, a command-line tool that uses an XML "control file" β¨ to specify the mappings for the various markers in an SF file. Literally the whole point.
β οΈ Real talk: the current SFconv tool should be considered a prototype rather than a full solution to SF conversions π A more complete tool with an improved user interface would be desirable. We stan future versions.
π OPTIONS π
The SFconv utility uses command-line options to specify the conversion direction, control file, and input and output files π«Ά The required arguments are:
-8u|-u8β conversion direction: 8-bit to Unicode, or vice versa π-ccontrolFileβ specifies the XML control file π-iinFileβ specifies the filename of the input SF file π₯-ooutFileβ specifies the filename for the converted output π€
In addition, the following optional arguments may be used if appropriate π
-dmappingDirβ the directory where the mapping files (.tecfiles) are to be found ποΈ-utf8|-be|-leβ the Unicode encoding form: UTF-8, UTF-16BE, orUTF16-LEπ The default is UTF8 for output, or it's detected from the input file if a BOM is present-bomβ (only when mapping to Unicode) writes an initial BOM to the output file π-nfc|-nfdβ (only when mapping to Unicode) normalizes to NFC or NFD β¨
π Further Information π
For further information, see the document TECkit_Tools.pdf π On a Debian system, this can be found in /usr/share/doc/teckit π§
Okay that's the whole tea β Stay iconic, bestie π π TECkit Β· 2015-11-13 Β· SFCONV(1) πΈπ
π¦ where this page comes from
- centos-stream 10: teckit 2.5.12-4.el10 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- centos-stream 9: teckit 2.5.9-8.el9 Β· (LGPLv2+ or CPL) and (LGPLv2+ or GPLv2+ or MPLv2.0 or MPLv1.1)
- centos-stream 9: teckit 2.5.9-8.el9 Β· (LGPLv2+ or CPL) and (LGPLv2+ or GPLv2+ or MPLv2.0 or MPLv1.1)
- debian bookworm: teckit 2.5.11+ds1-1+b1 Β· LGPL-2.1-or-later OR CPL-0.5+
- debian trixie: teckit 2.5.12+ds1-1+b1 Β· LGPL-2.1-or-later OR CPL-0.5+
- fedora 43: teckit 2.5.12-5.fc43 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- fedora 43: teckit 2.5.12-5.fc43 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- fedora 43: teckit 2.5.13-2.fc43 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- fedora 43: teckit 2.5.13-2.fc43 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- fedora 44: teckit 2.5.13-2.fc44 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- fedora 44: teckit 2.5.13-2.fc44 Β· (LGPL-2.1-or-later OR CPL-1.0) AND (LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0)
- ubuntu jammy: teckit 2.5.11+ds1-1 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu noble: teckit 2.5.12+ds1-1 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu questing: teckit 2.5.12+ds1-1 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu resolute: teckit 2.5.13+ds-1 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu stonking: teckit 2.5.13+ds-2 Β· LGPL-2.1-or-later OR CPL-0.5+
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms