Forum: Bash / Shell Scripting
Mar 25th, 2008, 2:55 PM
|
|
Replies: 13
Views: 484
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 10:17 PM
|
|
Replies: 13
Views: 484
Re: Spaces in path names
Wow! They made it! :-O :lol:
It's like they made it just for me :P Obviously I am not the only one who needs it :rolleyes:
Thank you :)
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 8:48 PM
|
|
Replies: 13
Views: 484
Re: Spaces in path names
I just wanted to share my final script which works just fine.
Since the installed add-ons are not compatible for both linux and windows at a time, using same profile folder with -ProfileManager was...
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 8:22 PM
|
|
Replies: 13
Views: 484
Re: Spaces in path names
Oh that's it :D It worked! Thanks a lot. So the key was to use double quotes while calling the variable as well as while defining the variable, eh?! :lol:
Thanks you all for your interest :)
I will...
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 8:18 PM
|
|
Replies: 13
Views: 484
Re: Spaces in path names
I tried all possible combinations with double quotes, single quote, slashs, backslash in defining the variable all same: linefeeds after space. :(
I read that
-1 (digit one, not lower L) parameter...
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 7:13 PM
|
|
Replies: 13
Views: 484
Re: Spaces in path names
Sorry to say no :S
$ HDA1="\"/mnt/hda1/Documents and Settings\""
$ echo $HDA1
"/mnt/hda1/Documents and Settings"
$ cd $HDA1
bash: cd: "/mnt/hda1/Documents: No such file or directory
$...
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 6:47 PM
|
|
Replies: 13
Views: 484
Re: Spaces in path names
Thank a lot for the quick reply :)
I already tried that but I am getting same thing.. :(
$ HDA1="/mnt/hda1/Documents and Settings"
$ cd $HDA1
bash: cd: /mnt/hda1/Documents: No such file or...
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 5:58 PM
|
|
Replies: 13
Views: 484
Spaces in path names
Hello Everyone,
I am new here and just started shell scripting.
I thought I would start with creating a shell script as a solution to one of my problems.
I need some help with variables and path...
|