Article 59G2N How would I go about removing hard-coded paths from a project?

How would I go about removing hard-coded paths from a project?

by
ziprun
from LinuxQuestions.org on (#59G2N)
In this project (CDE or Common Desktop Environment) a major obstacle is removing all hard-coded paths from config and source files.
https://sourceforge.net/p/cdesktopenv/tickets/60/
I used grep to find any references to the three paths and I think it found most if not all of them, but how would one go about removing the direct hard-coded paths and replacing them? I'm attaching the results grep found and this looks like it isn't too complicated, but I could use a bit of help with this.
Attached Files
txt.gifhardcodedpaths-allofthem.txt (37.1 KB)
latest?d=yIl2AUoC8zA latest?i=q8hfjTXiRIs:QSgqLJ5g-8w:F7zBnMy latest?i=q8hfjTXiRIs:QSgqLJ5g-8w:V_sGLiP latest?d=qj6IDK7rITs latest?i=q8hfjTXiRIs:QSgqLJ5g-8w:gIN9vFwq8hfjTXiRIs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments