[comp.unix.wizards] sh quotes: un-ambiguous description needed.

oz@yunexus.UUCP (Ozan Yigit) (09/14/88)

Does anyone have an un-ambiguous description, in the form
of a grammar, a state-machine, or psuodo-code, of the sh
quote handling mechanism ?? I need this to implement the
sh quote handling (only) for an application.

thnx.	oz
-- 
Crud that is not paged	        | Usenet: ...!utzoo!yunexus!oz
is still crud. 			|   ...uunet!mnetor!yunexus!oz
	andrew@alice		| Bitnet: oz@[yulibra|yuyetti]
				| Phonet: +1 416 736-5257x3976

andrew@alice.UUCP (Andrew Hume) (09/16/88)

mk implements shell quoting correctly (or so i believe).
there is a c function to do it. also, the latest mk tutorial
has a section which annunciates the rules for quoting in a reasonably
clear way. the korn shell book is reputed to have a decent definition of
quoting but i have not read it.