bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request - base64 Filename Safe Alphabet


From: Andreas Schwab
Subject: Re: Feature request - base64 Filename Safe Alphabet
Date: Tue, 29 Apr 2008 20:30:36 +0200
User-agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (gnu/linux)

Gabriel Barazer <address@hidden> writes:

> On 04/29/2008 4:47:53 PM +0200, Bo Borgerson <address@hidden> 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, address@hidden
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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]