Quote:
Originally Posted by syg00
First post - does this look like homework or not ?.
|
Looks like homework to me....
First you have to select something with which to make the change. sed/AWK/python/perl all sound like the kind of thing that you could use, so, having a short list you select a possible candidate (say sed, that seems like a good choice) and read the man page. So you issue the command
'man sed'
and you get information. (If you didn't have a list of possibles, you try 'man -k string' and see if that helps; as an example 'man -k change' shows you a lot of unintresting stuff, but 'man -k edit' gets lists stuff you might actually use).
Having read the man page, you try something. If after that you can't understand what is going on, or there is a definable area that you didn't understand, you could try posting on Linuxquestions to see if someone can help you on to the next stage, telling people what you have tried or what you think. then, whether it is homework or not, someone will probably actually help, rather than giving you a fragment of code that does the job without helping you much