bugGNU nano - Bugs: bug #28993, [Request] add support for...


bug #28993: [Request] add support for filtering text through pipe

Submitted by:  None
Submitted on:  Tue Feb 23 21:58:10 2010  
Severity: 3 - NormalStatus: Wont Fix
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Thu Sep 4 10:28:11 2014, comment #3:

^R ^X is good, but it would be even better if it remembered the last command typed (like ^W does).
Also, if there was a way to store few "predefined" commands (in nanorc for example), accessible via ^R ^1 / ^R ^2 etc... with parameters (or not), it would be very helpful for productivity. I often interrupt nano to trigger a grep in a source tree, it would be very useful to be able to do "^R ^1 <search term>" and have a grep -r run with these term, the output inserted in a new buffer, as ^R ^X does.

Bob <mailpourri>
Fri Jun 13 16:13:53 2014, comment #2:

I think you can do this through running a command (^R ^X) and then type in the name of a script that implements this menu of several filtering options. Nano is a simple editor, not a Swiss army knife that lets you do everything from making a cup of tea to phoning home. :) So if you want to filter a file, you do it either before starting nano, or you put nano to sleep (if you have only one terminal) and then filter it, or you make the proposed menued filtering script.

Benno Schulenberg <bens>
Project Administrator
Wed Jul 13 03:01:35 2011, comment #1:

This can be also used to edit GPG encrypted files (not very secure way, but ok for some cases).

Tue Feb 23 21:58:10 2010, original submission:

Hello, it can be useful to have option to set up few pipe filters which can be used to filter whole document...

eg.: gnu indent (this will add autoindent support), base64, uuencode, iconv, sed, perl,...

we can have array of strings like:
0:indend -linux
1:base64 -decode
2:sed -e 's/pico/nano/g'

and when some key is hitted, there can be popup menu which will let us choose from those pipes...



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

Attach File(s):

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 mailpourri (Posted a comment)
  • -unavailable- added by bens (Posted a comment)

    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):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jun 13 16:13:53 2014bensStatusNone=>Wont Fix
      Summary[Feature request] Add support for filtering text through pipe=>[Request] add support for filtering text through pipe

    Back to the top

    Powered by Savane 3.1-cleanup1