pub fn parse_delimiter_arg(s: &str) -> Result<u8>Expand description
Parse a user-supplied delimiter string into a single byte.
Accepts:
- a single ASCII character (e.g.
",","|",";") - the two-character escapes
"\t","\n","\r"(typing literal tabs in SQL strings or shell args is awkward, so this is the canonical form)
Rejects multi-character strings, non-ASCII, and empty strings with a clear error. Caller is expected to wrap the error with context if needed.