Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Oct 5th, 2004, 6:42 PM   #1
bob58
Newbie
 
Join Date: Oct 2004
Posts: 3
Rep Power: 0 bob58 is on a distinguished road
Hello......I am new to this forum and also new to scripting. I am very familiar with DOS batch files and would like to do some similar things in Linux. I am using Knoppix 3.7. I have been reading alot of websites offering help and tutorials on scripting but cannot find exactly what i want to do. I understand the basic idea of creating the script in editor and then making it executable. Basically I want to do is not too complicated i hope.

For example, I have a directory that contains roughly 50 text files on various subjects of interest.
I would like to make a menu showing maybe 20 choices of those text files. I want to assign a letter to each choice and have the file that is chosen to be displayed on screen and then a provision to exit the displayed file and return to menu.....

Is there a basic scripting routine that will let me do this??? I have done this extensivly in DOS using colors and graphics. I also want to be able to do this using a command line only computer eventually. Well for now I will use the Konsole. After using Linux now for 8 months, I realize the power of scripting and i think its fun.

I just need some help getting started....I do not need to "test conditions" or do any of that "if" business because I know the files i have are where they belong and do not need to test if they are or are not existing.

The next thing i would like to learn is how to use colors in my menus and so on......if anyone has the time to help me a little at a time that would be great! thank you...bob
bob58 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:14 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC