oooooh The catch is the space ... didn't even notice Need to retest :p ----- Original Message ----- From: "Chris DiTrani" <cditrani@xxxxxxxxxxxx> To: "scohen" <scohen@xxxxxxxxxxxxxxxxxxx> Cc: <linux-admin@xxxxxxxxxxxxxxx> 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 > > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html