| View previous topic :: View next topic |
| Author |
Message |
Gordon LXF regular

Joined: Thu Apr 07, 2005 6:01 pm Posts: 209 Location: Bradford, West Yorkshire
|
Posted: Wed Jul 27, 2005 10:09 pm Post subject: |
|
|
I thought I recognized this code. It seems to be the code from the book "Beginning Linux Programming", Wrox Press, ISBN 1-874416-68-0, chapter 2, code starts on page 72 inmy copy and is copyrighted to Wrox Press 1996. Did K Windle write the original for Wrox? _________________ Violence is the last refuge of the incompetent |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Wed Jul 27, 2005 10:58 pm Post subject: |
|
|
Does the code in the book have all the typos in it as well  |
|
| Back to top |
|
 |
RD LXF regular
Joined: Mon Jul 25, 2005 3:53 am Posts: 272 Location: irc.ixl2.net
|
Posted: Thu Jul 28, 2005 12:24 am Post subject: |
|
|
Gordon, after a quick google it would seem you was write and i had been given half finished stole code to finish as a result i will speak to the person who gave me the half finished code and to wrox about this matter, as a result i have had no choice but to edit and remove the copy right code from the forums and shall not be acceppting any more code from the person who was supose to "help me understand the shell coding" , this is an out right embaresment , Nigel it would seem that i have wasted your time and my own and was fooled into thinking that this was genuine.
NOT A HAPPY BUNNY  |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Thu Jul 28, 2005 12:57 am Post subject: |
|
|
RD - well, at least you have learned something about shell scripts. And I have to admit, so have I - I hadn't used case statements in bash scripts before (although I use them all the time in C). So it hasn't been a complete waste of time.
You may find after a bit of research that you are free to use the script itself, but changing the copyright assignment is a definite no-no.
And this is a good example of why SCO won't find any dodgy code in Linux - with development done so publicly, anything that isn't kosher gets outed very quickly  |
|
| Back to top |
|
 |
Gordon LXF regular

Joined: Thu Apr 07, 2005 6:01 pm Posts: 209 Location: Bradford, West Yorkshire
|
Posted: Thu Jul 28, 2005 4:19 pm Post subject: |
|
|
Hi RD, sorry to have caused you embarresment and anger. But I had also tried the code a few years ago myself from the Wrox book and it didn't work for me then either. Although the code from the book is copyright Wrox press, it is still under the GNU GPL licence, so you can still use it or modify it as long as you make such modifications available to others and acknowledge Wrox as the copyright holders.
Don't let this put you off learning bash scripting though.
With all due respect to Wrox though, "Beginning Linux Programming" may be worth a read. Would Linux Format consider doing a review of the latest edition?
Nigel, The code from the book does have some of the same typoes, such as the "cdttitle" variable.
I hope nobody feels too badly about this.
Regards to all concerned. Gordon |
|
| Back to top |
|
 |
RD LXF regular
Joined: Mon Jul 25, 2005 3:53 am Posts: 272 Location: irc.ixl2.net
|
Posted: Thu Jul 28, 2005 4:53 pm Post subject: |
|
|
Hi,
Im embarrested and angriy simple because i was given a half finished code that i thought was genuine to later find out that it had/has been cp by Wrox, i feel cheated out of trying to learn a new skill, in future rather than jumping in head first i shall do some home work first.
BTW thanks _________________ [url=irc://irc.ixl2.org/ixl2]irc.ixl2.org[/url] |
|
| Back to top |
|
 |
Gordon LXF regular

Joined: Thu Apr 07, 2005 6:01 pm Posts: 209 Location: Bradford, West Yorkshire
|
Posted: Thu Jul 28, 2005 4:57 pm Post subject: |
|
|
No probs. You could try looking at the "Advanced Bash Scripting Guide" which is on the LXF70 DVD.
Gordon _________________ Violence is the last refuge of the incompetent |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|