|
| From: | Bob Proulx |
| Subject: | Re: RFC: turn off word splitting for vars but keep for read |
| Date: | Sun, 24 Nov 2013 20:41:46 -0700 |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
Aleksey Midenkov wrote:
> I would say, that this style generally is wrong:
>
> rmprog=${RMPROG-rm}
> rmcmd="$rmprog -f"
>
> Because it will fail for files with spaces.
I am sure we disagree but I don't consider making rm program names
have spaces to be reasonable. :-/
What would it be? "remove command"? I definitely would not consider
an executable named with spaces that way to be reasonable.
Bob
| [Prev in Thread] | Current Thread | [Next in Thread] |