MAKE_ENCMAP(1)

πŸ“¦ version 2.11, in nixos 26.05, nixpkgs unstable

πŸ¦‹ MAKE_ENCMAP(1) β€” like, the perl manual page for make_encmap πŸ’…

okay bestie, so this is a page from the User Contributed Perl Documentation collection, and it's about a tiny little script called make_encmap. she's small, she's focused, she does one thing. main character energy fr.


✨ NAME ✨

make_encmap β€” creates an XML representation from an Unicode mapping file πŸŽ€

✨ SYNOPSIS ✨

make_encmap <name> <file>

that's it. two args. no drama. 🫢

✨ DESCRIPTION ✨

so make_encmap creates an XML encmap file with a given name, and it builds it from an Unicode mapping file β€” like the ones you'd get from <ftp://ftp.unicode.org> btw. πŸ‘‘

and where does the result go? by default, it just gets output to stdout. classic. no files sneaking around behind your back. πŸ’–

✨ ARGUMENTS ✨

  • <name> β€” the name you want set in the XML encmap file that gets created. it's giving "name your child" but for encmaps. 🍼
  • <file> β€” the Unicode mapping file you're building the XML encmap file from. the source material. the origin story. 🌸

✨ OPTIONS ✨

None. zero. nada. she doesn't take options, she takes vibes only. πŸ’€

✨ EXAMPLES ✨

okay here's the cute little demo, using the ISO/IEC 8859-15 table so you can see it in action:

wget ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-15.TXT
make_encmap 8859-15 8859-15.TXT E<gt> 8859-15.encmap

fetch the table, feed it in, redirect the output into 8859-15.encmap. slay. πŸ”₯

✨ EXIT STATUS ✨

  • 0 β€” the script exited normally. we love a clean exit. πŸ’š
  • 2 β€” invalid command-line arguments. bestie, check your args. 😭
  • >2 β€” an error occurred. something went sideways, and it's bigger than an arg problem. πŸ’€

✨ KNOWN BUGS ✨

None. not a single one. flawless behaviour, allegedly. πŸ‘‘βœ¨

✨ SEE ALSO ✨

✨ AUTHOR ✨

  • Clark Cooper <coopercc@netheaven.com <mailto:coopercc@netheaven.com>>. 🫢
  • Steve Hay <shay@cpan.org <mailto:shay@cpan.org>> is now maintaining XML::Encoding as of version 2.00. πŸ‘‘
  • This manual page was written by Daniel Leidert <daniel.leidert@wgdd.de <mailto:daniel.leidert@wgdd.de>> for the Debian project (but may be used by others). πŸŽ€

Copyright (C) 1998 Clark Cooper. All rights reserved. Copyright (C) 2008-2009, 2014 Steve Hay. All rights reserved. βš–οΈ

✨ LICENCE ✨

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e. under the terms of either the GNU General Public License or the Artistic License, as specified in the LICENCE file. πŸ’œ

✨ VERSION ✨

Version 2.11 🌈

✨ DATE ✨

08 Dec 2020 πŸ—“οΈ

✨ HISTORY ✨

See the Changes file. iykyk. πŸ“„


and that's the whole page, bestie 🧚 β€” brought to you by perl v5.42.3, dated 2020-12-08, straight from the MAKE_ENCMAP(1) page. mwah πŸ’‹

πŸ“¦ where this page comes from