Quote:
Originally Posted by PhoenixBB
What? What? I just hotfooted it over to the main page and can't find anything. Not that I think it'll make any difference because it still doesn't make sense.
|
man page, not main page
From a terminal window type "man diff" (no quotes) and smack the enter key. Use the spacebar to scroll down and the "q" key to quit. Lotsa good stuff there. "diff --help" will give you the short version.
Read this - maybe it'll help you understand things a little better -
http://linux.oreillynet.com/pub/a/linux/lpt/28_01.html
Quote:
Originally Posted by PhoenixBB
...Thanks for showing me where the code goes Allan, ain't no way I'd have figured it out otherwise. I wouldn't have this gateway hack up at all if the instructions had been in this new 'code'.
I need to lie down! 
|
You're gonna do fine, PhoenixBB. Don't get caught up quite so much in line numbers - as you add and replace text in the file the line numbers are gonna change. My advice would be to use the search function in your favorite text editor and if you're within a few lines of where you oughtta be (and there are no other instances of that particular string in the file) then apply the change.
Remember the output from diff can be
a (append),
c (change), or
d (delete). If it's okay with lierduh maybe I can come up with a set of instructions that are a little easier to follow.
Hang in there - make sure the changes you're contemplating make sense and don't worry too much about line numbers as long as you're close to the target - as the line numbers change as you edit the file
cheers -
allan