It seems there is a slight misunderstanding here and i will take the opportunity to clear it up: we are neither an online helpdesk nor do we do consultancy.
We do not do other peoples work for them. What we do is to help people help themselves.
There is no way around reading man pages, learning to program in shell and generally learning the tools of the trade. We can help you with details you don't know, but we can't teach you the basics of the job over the net. To understand how to use "$1", for instance, i suggest you either take a class in basic shell scripting or get some book "shell scripting for beginners" and start to read. We have done the same at some point in history and i am sure whatever i was able to grasp will be a piece of cake for you once you direct your energy at it.
As i see it this thread is leading nowhere. The questions are answered and the only thing missing is you actually trying what we told you. We don't expect you to get it right the first time. We are fully well prepared to answer follow-up questions like
OK, i have read the man page of "cut", tried <some faulty command follows> and it gave me not the expected result, but only <this> garbage and the error message <message>. What have i done wrong?
From the utter lack of such questions i deduce you haven't even tried. Instead you kept repeating the same question over and over again waiting until someone will write you a complete script. This will never happen here.
Moderator's Comments:
|
|
Thread closed.
|
|
bakunin