Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 23 Jul 2002 16:01:57 -0500 From: wayne To: cygwin AT cygwin DOT com Subject: Re: Valid file-name characters Message-ID: <20020723160156.A39594@reliant.immure.com> Reply-To: Wayne Willcox References: <3D3999D5 DOT 2080904 AT cox DOT net> <91341174502 DOT 20020722110344 AT logos-m DOT ru> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020722174321 DOT 02b7a340 AT pop3 DOT cris DOT com> <3D3DBFF0 DOT 1070704 AT cox DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D3DBFF0.1070704@cox.net>; from superbiskit@cox.net on Tue, Jul 23, 2002 at 04:43:28PM -0400 X-Operating-System: FreeBSD reliant.immure.com 4.4-RELEASE FreeBSD 4.4-RELEASE you can use an escaped \ I think that is true in all unixs at least the modern ones. On Tue, Jul 23, 2002 at 04:43:28PM -0400, David A. Cobb wrote: > > > Randall R Schulz wrote: > > > At 16:18 2002-07-22, David A. Cobb wrote: > > > >> ... > >> > >> It only makes sense to me to escape characters that are a real > >> problem ( vs. a nuisance ) for one system or the other. The ones I'm > >> sure of in Windoz are the colon and slashes. Would Linux, for > >> example, allow a file with (shell-escapd) backslashes? There are > >> others, but I haven't done the research yet. > > > > > > See the attached GIF for Windows' reproach. If you don't care to do > > that, I'll transcribe: > > I have plenty of reproaches for them too! Thanks, I meant to conjure up > that box. > I'm thinking of this as the _last_ step before sending a windowized > pathname to the OS -- encode any of the char's shown except the > PATH-SEP. Actually, both slashes are verboten. Coming back the other > way I'd be tempted to be more permissive and try decoding any %XY | X in > {0..9+A..F), Y in (0..9+A..F) but that may be an evil temptation. > Reversing only what we ourselves do is far safer. > > > Randall Schulz > > Mountain View, CA USA > > > > ------------------------------------------------------------------------ > > > >------------------------------------------------------------------------ > > > >-- > >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > >Bug reporting: http://cygwin.com/bugs.html > >Documentation: http://cygwin.com/docs.html > >FAQ: http://cygwin.com/faq/ > > > > -- > David A. Cobb, Software Engineer, Public Access Advocate > "By God's Grace I am a Christian man, by my actions a great sinner." -- The Way of a Pilgrim; R. M. French, tr. > Life is too short to tolerate crappy software. > . > -- Slowly and surely the unix crept up on the Nintendo user ... Wayne Willcox I will not eat green eggs and ham wayne AT reliant DOT immure DOT com I will not eat them Sam I Am!! A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/