[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install -D into directory
From: |
Paul Eggert |
Subject: |
Re: install -D into directory |
Date: |
17 Sep 2003 10:17:18 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Koblinger Egmont <address@hidden> writes:
> Currently the form ``install -D some files /here/'' (with trailing slash)
> is unusable for anything
Unfortunately POSIX standard says that standard utilities must ignore
any trailing slashes on existing directory names. POSIX does not
standardize 'install', but it's better if 'install' is consistent with
standard utilities. Hence "install -D some files /here/" should
behave like "install -D some files /here", if "/here" is an existing
directory.
One possible way around the problem would be to add a new option, say
-e, to get the behavior that you want. "install -e A B C DEST" would
do the equivalent of "install -d DEST" first, and then do the
equivalent of "install A B C DEST".