From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Adam Lang" Subject: Re: Stupid spaces Date: Tue, 20 Jul 2004 14:37:59 -0400 Sender: linux-admin-owner@vger.kernel.org Message-ID: <028201c46e88$ae49db60$530a0a0a@rutgersinsurance.com> References: <1090347631.19848.11.camel@chris.livedata.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: Cc: linux-admin@vger.kernel.org oooooh The catch is the space ... didn't even notice Need to retest :p ----- Original Message ----- From: "Chris DiTrani" To: "scohen" Cc: Sent: Tuesday, July 20, 2004 2:20 PM Subject: Re: Stupid spaces > On Tue, 2004-07-20 at 13:55, scohen wrote: > > Also, > > > > You are using way to many quotes. Just write this: > > > > file_path="/some/where/Test Folder/" > > echo $file_path > > cd $file_path > > > > Did you actually try this? Doesn't work in my shell. I'm sure he tried > this first and only got more complicated when it failed to work. > > In your above example $file_path is an unquoted string that turns into > two args, '/some/where/Test' and 'Folder/', when expanded and passed to > cd. > > CD > > - > 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