Broken GMIC Tutorial Code?

True although in this case it is not to long (in my opinion) and (more important) multiple backslashes are a bit more visible then single quote, especially since it is not possible to put the whole command between single quotes (e.g. gmic '[gmic commands]' doesn’t work)

(also for some reason replacing the \"-add \"\$k with '"-add "$k' doesn’t work here)

EDIT: for code