file: job.t package: muf status: alpha
{ string -> string }
The expandCStringEscapes
function accepts a string and
returns a string in which any C-style escape sequences found
have been appropriately expanded -- "\n" expanded to a
newline, and so forth.
The current list of escapes recognized:
'\0' '\a' '\b' '\f' '\n' '\r' '\t' '\v'
(This could certainly be coded in muf easily enough, but C-coding it seems likely to speed up the muf compiler.)
Go to the first, previous, next, last section, table of contents.