Re: BASH Programming: spaces ignored
From: Hartmut Holzgraefe (hartmut_at_mysql.com)
Date: 05/30/05
- Next message: Kamal R. Prasad: "Re: getting pathname from descriptor"
- Previous message: John Smith: "Re: Suggestions for custom application-layer protocol?"
- In reply to: sean_at_mail.capitalgenomix.com: "BASH Programming: spaces ignored"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Kamal R. Prasad: "Re: getting pathname from descriptor"
- Previous message: John Smith: "Re: Suggestions for custom application-layer protocol?"
- In reply to: sean_at_mail.capitalgenomix.com: "BASH Programming: spaces ignored"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]