January 6th, 2009
How do you display the help main menu in the vi editor of linux like
so (I would like to use the "break" and "continue" commands using the
"while" command")
1) Help on File Commands
2) Help on Directory Commands
3) List Home Directory
Choice?
At the prompt "Choice?" of Main Menu, if option 1 is selected, the
following menu should be displayed:
File Command Help
1) cp
2) mv
3) rm
Choice?
For each option, the related help (man page) should be displayed.
At the Main Menu if option 2 is selected, the following menu should be
dispalyed:
1) mkdir
2) rmdir
3) ls
Choce?
Each choice should display related help (the associated man page).
When the Main Menu option 3 is selected, a list of the files in the
user's home directory should be displayed.I don't get what this has to do with vi. Do you want the menus and
results displayed inside a vi document?
- HammerHello,
A small clarification here.
Are you trying to develop a script which will do all this on a
menu-driven basis or do you want something in-built for vi editor?
Let me know.
ThanksI am trying to create a script which will do all this on a
menu-driven basis#If you have any other info about this subject , Please add it free.# |
|
Posted in weletomylife.com | edit