From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24904 invoked by alias); 1 Jun 2011 00:09:00 -0000 Received: (qmail 24884 invoked by uid 22791); 1 Jun 2011 00:08:53 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,TW_LW,TW_RW,TW_SR,TW_WX,TW_XR,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ishtar.tlinx.org (HELO Ishtar.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jun 2011 00:08:38 +0000 Received: from [192.168.3.140] (Athenae2 [192.168.3.140]) by Ishtar.tlinx.org (8.14.4/8.14.3/SuSE Linux 0.8) with ESMTP id p5108SWt018800 for ; Tue, 31 May 2011 17:08:30 -0700 Message-ID: <4DE582FC.5000605@tlinx.org> Date: Wed, 01 Jun 2011 00:09:00 -0000 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: allowed Linux characters (and windows substitutes)... References: <31711163.post@talk.nabble.com> In-Reply-To: <31711163.post@talk.nabble.com> X-Stationery: 0.5.1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-06/txt/msg00000.txt.bz2 sweinberger wrote: > Since ":" and "\" are not acceptable characters in a Linux path, I had to > work around the problem. ---- I don't know where you got this idea, but on linux, you can put : and "\" in filenames just fine. Only "/" and "\000" (ASCII NUL) can't be in a _file_name ("/", obviously works fine in pathnames). /home> uname --kernel-name --hardware-platform /home> llg -d C* drwsrwsr-x 4 lw devel 4096 May 29 10:38 CPAN-ishtar-build-cache/ drwxrwx--- 65 lw lwgrp 4096 Mar 2 2010 C:\Windows/ Note in my "C:\Windows" dir, that's a real colon and backslash, Not the "full-width" or "presentation forms" one has to use to get a similar filename on Windows... Colon: ":" U+FE13 (Presentation Form for Vertical Colon) Backslash: "\" U+FF3C (FullWidth Reverse Solidus) There also also 'small colon and small reverse solidus' but I've not used them but they would also appear to work to _display_ a colon and backslash in a windows filename. However, on Linux the 'ascii' versions work just fine. 0x3a(colon) & 0x5c(backslash/reverse solidus). Note, : and \ have no special meaning on linux -- so they are not device or directory separators if that was something you needed. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple