Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HOW2 make an objectified bash script ?

0 views
Skip to first unread message

no.to...@gmail.com

unread,
Jan 1, 2010, 12:07:36 PM1/1/10
to
I want to be able to:
* call the script: boj
* which then shows it's can-do-menu
* initially say -
1= append to my [probably 1 per line] known phrases;
perhaps the lines are just appended below the code's 'exit'.
2= show my list of known phrases,
2a= and accept an index or a 'key' to return the selected 1-line-known-phrase.

The hope is that my existing utilities which can call shell, would be able to
go off and store eg. path/FileIDs and fetch a phrase, eg. for execution.

How would I start coding this?

==TIA.

PS.an application for me is mc's cedit's ability to select-constructs that
apply the the specific language of the file being edited -- probably vim
and emacs can do this too. So now I want to:
V: enter new IDs or fetch existing IDs.
-Enter name of new ID - perhaps show alfa-sorted existing IDs,
to avoid using an existing ID?
-Select one of existing IDs, to be printed at the cursor.
[like the selected construct-skeletons are preinted at the cursor].


0 new messages