tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Proposal to add /usr/bin/shquote
On Sun, 07 Sep 2008, Bruce Korb wrote:
> As long as you are going to go to all this trouble, how about having
> a depth option? Someone alluded to it earlier where the arguments
> get scanned once locally and again by a shell at the far end of
> an rsh/ssh command. So, ``-d 2'' would fix this. Thank you!
I'd prefer to leave that to the caller. It's easy enough to write
foo="$(shquote "$(shquote "$@" )" )"
if you really need two levels of quoting.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index