[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Proposal to add /usr/bin/shquote
Date: Sun, 7 Sep 2008 11:27:14 +0200
From: Alan Barrett <apb%cequrux.com@localhost>
| But it now seems to me that "shquote" is not a good name for a program
| that can also perform non-shell quoting. Perhaps just "quote" instead
| of "shquote"?
Perhaps no coincidence, but quote is what I call my shell function
which does (a comparatively poor job of) exactly this kind of thing.
| It could take a "-t type" option defaulting to "-t sh",
| and the initial implementation might not support any types other than
| "sh", but the infrastructure could be provided.
Fine. My version only quotes one arg (that's all I needed), so I just use
an optional second for the type, but doing it properly is certainly better.
Main Index |
Thread Index |