From mboxrd@z Thu Jan 1 00:00:00 1970 From: calin Subject: Re: Stupid spaces Date: Mon, 19 Jul 2004 17:59:52 +0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <1090249187.12913.17.camel@LinuxMobile> References: <1090243761.12913.8.camel@LinuxMobile> <1090245374.17698.49.camel@chris.livedata.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1090245374.17698.49.camel@chris.livedata.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: Chris DiTrani Cc: linux-admin@vger.kernel.org Worked just great. Thank you all. On Mon, 2004-07-19 at 16:56, Chris DiTrani wrote: > file_path='test foo' > cd "$file_path" > > On Mon, 2004-07-19 at 09:29, calin wrote: > > Hello all. > > > > I know the following question is a dumb one, but I've tried to make a > > script working and I'm stuck. > > > > I'll try to isolate the problem as follows. > > > > I have a script which at some moment during the execution, needs to cd. > > So I assumed that the following would work: > > > > > > file_path='"/some/where/Test Folder/"' > > echo "$file_path" > > cd "$file_path" > > > > But surprise: it didn't. Every time I try to run it it gives me > > something like: > > > > > > $ ./cding.sh > > "/some/where/Test Folder/" > > ./cding.sh: line 5: cd: "/some/where/Test Folder/": No such file or > > directory > > $ > > > > although the Test Folder exist, is in the right path (/some/where/Test > > Folder) and it's permissions are 777. > > > > Any idea? > > > > TIA > > > > Calin Cosma > > > > > > > > --------------------------------------------------------------- > > Incearca acum noul sistem de dating oferit de portalul acasa.ro > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > --------------------------------------------------------------- > Incearca acum noul sistem de dating oferit de portalul acasa.ro > > --------------------------------------------------------------- Incearca acum noul sistem de dating oferit de portalul acasa.ro