Gabriel Barazer <[EMAIL PROTECTED]> writes:

> On 04/29/2008 4:47:53 PM +0200, Bo Borgerson <[EMAIL PROTECTED]> wrote:
>> Pádraig Brady wrote:
>>> tr '+/' '._' => hidden files
>>> tr '+/' '-_' => awkward option clashes
>>> tr '/' '_' => not POSIX portable
>
> AFAIK, POSIX filenames allow any character except the slash character and
> the null byte.

That is actually a Unix property.  For a portable POSIX file name the
alphabet is much more restricted: [A-Za-z0-9_.-], without leading
hyphen.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to