UNAEXPORT(1)
π unaexport() β LOCAL
okay bestie, so this whole page is the unaexport() man page from the LOCAL manual, and honestly? it's giving "small utility, big personality". sit down, grab a strawberry drink π, and let's go.
β¨ NAME β¨
unaexport β exports Unicode and ASCII (byte stream) text. that's it. that's the whole vibe.
π SYNOPSIS π
unaexport [-c codepage] [-i input_format] [-n newline_conversion]
[-o output_format] [-BhlqvV] source
πΈ DESCRIPTION πΈ
unaexport is a utility to export Unicode and ASCII (byte stream) text. literally its whole job. iconic of it.
it's part of the libuna package β and libuna is a library to support Unicode and ASCII (byte stream) conversions. so yeah, the whole family is about conversions, and unaexport is the one that actually does the exporting for you π«Ά
source is the source device to read from. that's your input, bestie.
The options are as follows:
π OPTIONS π
-Bβ do not export a byte order mark (BOM). no BOM, no problem. π«-Acodepage β sets the codepage of byte-stream. the options are:ascii(default),iso-8559-1,iso-8559-2,iso-8559-3,iso-8559-4,iso-8559-5,iso-8559-6,iso-8559-7,iso-8559-8,iso-8559-9,iso-8559-10,iso-8559-11,iso-8559-13,iso-8559-14,iso-8559-15,iso-8559-16,koi8-r,koi8-u,windows-874,windows-1250,windows-1251,windows-1252,windows-1253,windows-1254,windows-1255,windows-1256windows-1257orwindows-1258. yes, that's a lot of codepages. she contains multitudes π-hβ shows this help. hi help π-iinput_format β the input format. options:auto-detect(default),utf7,utf8,utf16be,utf16le,utf32beorutf32le. auto-detect is the main character here ngl β¨-lβ list information about the codepages. like window shopping but for encodings ποΈ-nnewline_conversion β convert newline characters. options:none(default),cr,crlforlf. newlines are getting a whole glow-up π¦-ooutput_format β the output format. options:byte-stream,utf7,utf8(default),utf16be,utf16le,utf32beorutf32le. default is utf8, as she should be π-qβ quiet, shows no status information. shhh π€«-vβ verbose output tostderr. now she's talking π¬-Vβ print version. gotta know which era of her you're dealing with β
π not me noticing the synopsis says-c codepageand the option list says-A codepage. i'm literally just the messenger, bestie β i copied both exactly as written. iykyk.
π§ ENVIRONMENT π§
None. nothing. empty. she doesn't need environment variables, she's low maintenance π
π FILES π
None. also nothing. no files configured. zero crumbs. πͺ
π₯ EXAMPLES π₯
okay so here's the example from the page, verbatim, because honestly the output is kind of a serve:
# unaexport -c windows-1250 -i byte_stream -o utf8 source.txt destination.txt
unaexport 20110108 (libuna 20110108)
Exporting:
source: source.txt
of format: auto detect
destination: destination.txt
of format: UTF-8
export byte order mark: yes
newline conversion: none
Export started at: Sat Jan 8 09:09:23 2011
This could take a while.
Status: exported 492 bytes
in 0 second(s).
Export completed at: Sat Jan 8 09:09:23 2011
Exported: 492 bytes in 0 second(s).
the "This could take a while." followed immediately by "in 0 second(s)" is honestly the funniest thing on this entire page π 492 bytes of pure drama.
π DIAGNOSTICS π
Errors, verbose and debug output are printed to stderr when verbose output -v is enabled. and important bit: verbose and debug output are only printed when enabled at compilation. so if you're not seeing it, that's a build thing, not a you thing π«Ά
π BUGS π
Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website: https://github.com/libyal/libuna/
bugs of any kind. she's not picky. but also, please report them, don't just suffer in silence bestie π
π AUTHOR π
These man pages were written by Joachim Metz. thank you for your service, king π«‘
π COPYRIGHT π
Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
π¨ like, genuinely no warranty. none. zero. don't come for her if your conversion goes sideways, that's the deal.
okay that's the whole page, bestie β and as a cute little sign-off: this little beauty lives in the libuna manual, dated April 10, 2019. go export something and slay β¨π¦π
π¦ where this page comes from
- opensuse-leap 16.0: libuna-tools 20240414-bp160.1.12 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: libuna-tools 20240414-bp160.1.12 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: libuna-tools 20240414-bp160.1.12 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: libuna-tools 20240414-bp160.1.12 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms