aboutsummaryrefslogtreecommitdiffstats
path: root/convert-to-superscript.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-24 21:10:12 +0100
committerMattias Andrée <m@maandree.se>2026-01-24 21:10:12 +0100
commit80350b43c77a7835546a8c29e0d93eeb3cddfadd (patch)
treefc9db67a19eb38daacac5b18b409d1008ad81165 /convert-to-superscript.c
parentAdd README (diff)
downloadcharconv-80350b43c77a7835546a8c29e0d93eeb3cddfadd.tar.gz
charconv-80350b43c77a7835546a8c29e0d93eeb3cddfadd.tar.bz2
charconv-80350b43c77a7835546a8c29e0d93eeb3cddfadd.tar.xz
Add superscript and subscript (so far only with digits) and lycian and lydian
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'convert-to-superscript.c')
-rw-r--r--convert-to-superscript.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/convert-to-superscript.c b/convert-to-superscript.c
new file mode 100644
index 0000000..62037ec
--- /dev/null
+++ b/convert-to-superscript.c
@@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+USAGE("");
+
+
+int
+main(int argc, char *argv[])
+{
+ ARGBEGIN {
+ default:
+ usage();
+ } ARGEND;
+ if (argc)
+ usage();
+
+ return convert(&libcharconv_superscript);
+}