From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,89c66de42d27928e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ip.tiscali.net!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada Subject: Re: how to adapt a path name to the OS References: <1115223570.406312.71640@g14g2000cwa.googlegroups.com> <1115224131.978585.242810@g14g2000cwa.googlegroups.com> From: Ludovic Brenta Date: Wed, 04 May 2005 19:03:54 +0200 Message-ID: <87r7gmhqit.fsf@insalien.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:2kapFwvjGPTFPkVGM1rDCvG/VLw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 04 May 2005 19:03:31 CEST NNTP-Posting-Host: 83.134.238.44 X-Trace: 1115226211 dreader2.news.tiscali.nl 1371 83.134.238.44:34702 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:10918 Date: 2005-05-04T19:03:31+02:00 List-Id: writes: > thanks for your help > for unix how can i know all the special chars that have to be preceded > by a '\' ? The quotes are only needed to protect certain characters from the shell. So, you need to quote only if you want to pass the string to a shell. In the case of bash, I suggest you give up on quoting and simply enclose the path in single quotes ('). If you want to pass the string to Ada.Text_IO.Open to open a file, then you don't need quoting at all. HTH -- Ludovic Brenta.