Re: BASH Programming: spaces ignored

From: Hartmut Holzgraefe (hartmut_at_mysql.com)
Date: 05/30/05


Date: Mon, 30 May 2005 18:49:44 +0200

sean@mail.capitalgenomix.com wrote:
> #!/bin/bash
> fileserver_path="/mnt/fs/Documents/DS\ -\ Datasheets/"
>
> cd $fileserver_path

try this instead:

   fileserver_path="/mnt/fs/Documents/DS - Datasheets/"

   cd "$fileserver_path"

-- 
Hartmut Holzgraefe, Senior Support Engineer                            .
MySQL AB, www.mysql.com

Quantcast