HalosGhost / shaman

A small, native C library and utility to fetch weather
GNU General Public License v2.0
49 stars 4 forks source link

Escape sequences in format doesn't work #19

Open mkoskar opened 10 years ago

mkoskar commented 10 years ago

Reading a shaman man page on FORMAT there's a statement:

All other valid escape characters may also be used (e.g., \n and \\).

But that doesn't seem to be the case. Looking at the source code there's no such parsing done. I'm not sure if it's a bug in code / documentation or my misinterpretation. Using verbatim special characters (newlines, tabs, etc.) works OK.

HalosGhost commented 10 years ago

Interesting! I believe I know what needs to be changed. I'll get on that shortly.