LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion
User Name
Password
LQ Articles Discussion This forum is for the discussion of content posted to the Articles and Editorials section.

Notices

Reply
 
Search this Thread
Old 03-31-2006, 01:36 PM   #1
stomfi
Member
 
Registered: Aug 2002
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 15
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
 
Old 07-29-2006, 04:10 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
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.

Last edited by /bin/bash; 07-29-2006 at 05:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Power to the Users - part 1 stomfi LQ Articles Discussion 1 04-01-2006 10:05 PM
DISCUSSION: Power to the users - part 2 stomfi LQ Articles Discussion 4 04-01-2006 02:54 AM
DISCUSSION: Power to the Users - Part 4 stomfi LQ Articles Discussion 0 03-09-2006 02:34 PM
DISCUSSION: Power to the Users - part 3 stomfi LQ Articles Discussion 0 02-25-2006 07:25 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration