LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LQ Articles Discussion (https://www.linuxquestions.org/questions/lq-articles-discussion-68/)
-   -   DISCUSSION: Power to the Users - part 3 (https://www.linuxquestions.org/questions/lq-articles-discussion-68/discussion-power-to-the-users-part-3-a-430392/)

stomfi 03-31-2006 01:36 PM

DISCUSSION: Power to the Users - part 3
 
This thread is to discuss the article titled:
Power to the Users - part 3

Quote:

Power to the Users. Shell Scripting & GUI interfacing for Desktop Users. By Stomfi © 2005 [b]Part 3

/bin/bash 07-29-2006 04:10 AM

Just a small typo. But since it causes an error in your script I thought I'd report it to you.
Quote:

The name of this script will be namerep.sh and will be saved in the bin folder. Make a header and add the same File and Variable assignments as in the namerecs.sh file. This is an example of reuse. Even if they are not all used, it is quicker to copy the lot than create a new entirely specific section.
Later in the article you change the name of the script to namereports.sh.
Quote:

Code:

case $SEL in
1) exec $NBIN/namerecs.sh;;
2) exec $NBIN/namereports.sh;;
3) QUIT=1
continue;;
*) continue;;
esac


Then in the next version of the menu script it get's changed back to the original namerep.sh.

<edit> Nevermind, I see now that there are 2 scripts, namereports.sh and namerep.sh. That fact isn't real clear if you are a dummy like me just following along, trying to make this work. :p


All times are GMT -5. The time now is 10:16 PM.