UNAEXPORT(1)

πŸ“¦ in opensuse-leap 16.0

πŸ’… 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. 🚫
  • -A codepage β€” 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-1256 windows-1257 or windows-1258. yes, that's a lot of codepages. she contains multitudes πŸ’€
  • -h β€” shows this help. hi help πŸ‘‹
  • -i input_format β€” the input format. options: auto-detect (default), utf7, utf8, utf16be, utf16le, utf32be or utf32le. auto-detect is the main character here ngl ✨
  • -l β€” list information about the codepages. like window shopping but for encodings πŸ›οΈ
  • -n newline_conversion β€” convert newline characters. options: none (default), cr, crlf or lf. newlines are getting a whole glow-up πŸ¦‹
  • -o output_format β€” the output format. options: byte-stream, utf7, utf8 (default), utf16be, utf16le, utf32be or utf32le. default is utf8, as she should be πŸ‘‘
  • -q β€” quiet, shows no status information. shhh 🀫
  • -v β€” verbose output to stderr. now she's talking πŸ’¬
  • -V β€” print version. gotta know which era of her you're dealing with ⭐
πŸ™ˆ not me noticing the synopsis says -c codepage and 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 (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 βœ¨πŸ¦‹πŸ’