helpThe GNU Bourne-Again SHell - Support: sr #108547, Is there a function to replace the...

 
 

sr #108547: Is there a function to replace the command line text?

Submitted by:  Dave Yost <yost>
Submitted on:  Fri 18 Apr 2014 07:53:34 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 18 Apr 2014 07:53:34 PM UTC, original submission:

Is there a builtin function that replaces the command line with the function's output? The completion mechanism must use such a function, so there has to be something like that.

I want to use that function to build a function I can use to run a demo consisting of a sequence of commands.

  • Make an array of strings
  • For each step of the demo

* Type a command or a keyboard shortcut that grabs the next string
from the array and places it on the command line
* Hit Enter to execute the command

Is this an RFE or an RTFM? I couldn't find the answer to this in the docs or on the web.

Thanks

Dave Yost <yost>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by yost (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup