APOP_TEXT_TO_DB(1)
π NAME π
okay so bestie, welcome to APOP_TEXT_TO_DB(1), straight outta the Apophenia manual, and it's giving command-line main character energy β¨
apop_text_to_db β it's a command line utility that converts a text file into a database table. literally that's the whole job. and it ate. π
π¦ SYNOPSIS π¦
apop_text_to_db [-d delimiters] text_file table_name dbname
β¨ DESCRIPTION β¨
so here's the vibe: if the input text file name is a single dash, -, then it reads from STDIN instead. and your input has to be plain ASCII or UTF-8, no cap. π
π the flags, bestie π
-dβ the single-character delimiters to use, like-d " ,"or-d "\t"(which, fr fr, you will almost certainly have to write as-d "\\t"). default:"|,\t", meaning any pipe, comma, or tab will delimit separate entries. π-ncβ nope, the data does not include column names π-nregex β a case-insensitive regular expression indicating Null values (default:NaN)-mβ use a MySQL database (default: SQLite)-fβ fixed width field ends, like-f"3,8,12,17"β heads up: the first char is one, not zero π-uβ mysql username-pβ mysql password-rβ the data includes row names-vβ verbosity (spill the tea, tell us everything π«)-Nβ a comma-separated list of column names, like-N"apple,banana,carrot,durian"π-enβ if the table exists, do nothing and exit (peace out βοΈ)-edβ if the table exists, retain the table, delete all data, and refill with the new data (i.e., call'delete * from your_table')-eoβ if the table exists, overwrite the table from scratch (deleting the previous table entirely π)-eaβ if the table exists, append new data to the existing table-hβ display this help and exit π
quick vibe check:-eois the nuclear one β it deletes the previous table entirely.-edkeeps the table but wipes every row. choose wisely, bestie π
πΈ that's the whole page, you understood it perfectly, I'm so proud of you π«Ά this was written by the Apophenia girlies and it's from the Debian build, dated January 2026 β periodt π β¨
π¦ where this page comes from
- ubuntu resolute: apophenia-bin 1.0+ds-10ubuntu2 Β· GPL-2.0-only
- ubuntu stonking: apophenia-bin 1.0+ds-10ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms