13 reputation
13
bio website
location Alameda, CA
age 30
visits member for 3 years, 3 months
seen Dec 20 '12 at 14:57

Dec
15
awarded  Notable Question
Jun
27
awarded  Popular Question
May
26
awarded  Student
May
26
comment Using sed to replace a line with many special characters?
Thanks, you just beat me to it! Thanks for all of your help!
May
26
comment Using sed to replace a line with many special characters?
Actually, I still need the ./ in front of the $new_cache_directory.. I'm going to try to figure that out really quick..
May
26
comment Using sed to replace a line with many special characters?
I see, so you "unescaped" the $ on the variable correct?
May
26
comment Using sed to replace a line with many special characters?
This is an interactive script so the user is defining $new_cache_directory using printf and read... Basically the variable needs to be passed to the file. So if they answer whackachuck that is what the file shows. Is that a little more descriptive?
May
26
awarded  Scholar
May
26
accepted Using sed to replace a line with many special characters?
May
26
comment Using sed to replace a line with many special characters?
This worked with one exception, the $new_cache_directory variable was not passed infile. It shows $cache_directory = '$new_cache_directory';
May
26
comment Using sed to replace a line with many special characters?
Thank you for the well explained thought process, I really do appreciate it when people take the time out to throughly explain something. However, that method didn't work. it displayed the output of the file in terminal.
May
26
asked Using sed to replace a line with many special characters?