﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
961	option quoting in csc is a complete mess	felix winkelmann		"Using things like `csc -cflags` in shell scripts is mostly unusable, as the quoted include path (`-I"" ... ""`) is taken verbatim and not recognized by gcc due to the quotes.

Even though this is fundamentally based on the completely useless and insane shell quoting rules of sh and it's bastards, the code in `csc` doesn't make it any better, by using various ways of quoting (""qs"", ""quotewrap"", ""quote-option"") and a tangled labyrinth of variables and thoughtlessly written crap code.

`csc` needs a complete rewrite. Ideally with lots of stuff removed to makes it less complex (like deployment) and a single point where options are prepared shell and shell-quoted as necessary.

This will necessarily break lots of stuff. It doesn't matter. It has to be.
"	defect	closed	major	someday	core tools	4.8.x	worksforme			hard
