[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is it correct to specific a path name like this



Thus spake try_email_me@yahoo.ca:
> $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'

You're setting the shell variables incorrectly.

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

or

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

Should both work fine.  You should use quotes when dealing with
filenames with spaces in them.

-- 
Nathan Poznick <poznick@conwaycorp.net>

"The ONLY good cat is a stir fried cat" -Alf



Reply to: