helpThe GNU Bourne-Again SHell - Support: sr #108483, Add a feature to log previous...

 
 

sr #108483: Add a feature to log previous command with output.

Submitted by:  None
Submitted on:  Sat 25 Jan 2014 04:10:27 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 1 - WishStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 25 Jan 2014 04:10:27 AM UTC, original submission:

How easy is it to ensure that every single command with all of its output gets logged to a file and cuts off at a certain limit or size.

--USEFULNESS: --
Ideally the previous output could easily be fetched and/or parsed.
For example git status returns a bunch of files. How cool would it be to have a script called "feh" which retreived a certain trimmed line of the previous output, for example:

$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# bar
# foo
nothing added to commit but untracked files present (use "git add" to track)
$ feh -2
foo
$

or some other quick way to grab a single line, think about those long huge file names that appear.

Just a thought
Jim

Anonymous

 

(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 None (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