in reply to Re: Escaping special chars to add in a file
in thread Escaping special chars to add in a file
I'm not sure why printf has this problem...
It's specifically the %n format that does this. According to sprintf, this "*stores* the number of characters output so far into the next variable in the parameter list". If there is no next variable, this is the error you get. This came up about a year ago in line number ($.) problem ?.
I think the error message could use improvement, but it seems fairly logical that it is an error.
|
|---|