DEBCONF-ESCAPE(1)
๐ NAME ๐
debconf-escape โ the lil helper bestie you call when you're working with debconf's escape capability ๐ซถ
โจ SYNOPSIS โจ
debconf-escape -e < unescaped-text
debconf-escape -u < escaped-text
Two moods, two flags: -e gets fed unescaped text on stdin, -u gets fed escaped text on stdin. Slurp it in, get the other flavour out ๐
๐ธ DESCRIPTION ๐ธ
okay so plot twist: when debconf has the 'escape' capability set, it fully expects the commands you send it to have backslashes and newlines escaped โ that's "\\" for the backslash and "\n" for the newline, respectively โจ
And it's giving mutual, bestie โ debconf turns around and escapes backslashes and newlines in its replies too ๐๐
What's that actually good for, you ask? (iconic question, ty for asking ๐)
- subbing multi-line strings into templates, literally so easy
- getting multi-line extended descriptions reliably using
"METAGET"๐ฅ
no cap, that's the whole vibe. the escaping just keeps your newlines from getting ate ๐
๐ฆ SEE ALSO ๐ฆ
debconf-devel(7)โ which is available in thedebconf-docpackage ๐
๐ AUTHOR ๐
Colin Watson <cjwatson@debian.org> โ thank you for your service, we are obsessed ๐ซถ๐ธ
mwah ๐ this page is from the Debconf docs, dated 2026-02-16 โ go forth and escape responsibly, bestie, ily ๐โจ
๐ฆ where this page comes from
- ubuntu resolute: debconf 1.5.92 ยท BSD-2-Clause
- ubuntu stonking: debconf 1.5.92 ยท BSD-2-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms