From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: how to adapt a path name to the OS
Date: Wed, 04 May 2005 19:03:54 +0200
Date: 2005-05-04T19:03:31+02:00 [thread overview]
Message-ID: <87r7gmhqit.fsf@insalien.org> (raw)
In-Reply-To: 1115224131.978585.242810@g14g2000cwa.googlegroups.com
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.
next prev parent reply other threads:[~2005-05-04 17:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-04 16:19 how to adapt a path name to the OS evangeli
2005-05-04 16:24 ` Martin Dowie
2005-05-04 16:28 ` evangeli
2005-05-04 16:32 ` Martin Dowie
2005-05-04 16:44 ` evangeli
2005-05-04 17:06 ` Adrien Plisson
2005-05-04 17:03 ` Ludovic Brenta [this message]
2005-05-04 17:14 ` evangeli
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox