Hi everyone,

        I am writing some shell scripts, but I run into some problems.
I have a dir name which has space in it.  I know this is bad but I can't
avoid it.  I am forced to deal with this situation.  How do I set a
variable that contain the dir name which has space in it.  I tried
several ways:

$PDB=~/.kde/share/apps/kpilot/DBBackup/Cool Joe/AddressDB.pdb
$PDB="~/.kde/share/apps/kpilot/DBBackup/Cool Joe/AddressDB.pdb"
$PDB='~/.kde/share/apps/kpilot/DBBackup/Cool Joe/AddressDB.pdb'

ls $PDB

give me error.  is there a way or no way?

-- 
Edwin ERTW Lau


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to