Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-09-2008, 08:38 PM   #1
Registered: Dec 2007
Location: ON CA
Distribution: Xubuntu 8.04; Xubuntu 6.06.2
Posts: 64

Rep: Reputation: 15
Question Command-line output to GUI text editor


Other than redirecting output to file then opening that file, is there a way to send output of a given command directly to a text editor (preferably NEdit)?

Thank you.
Old 04-10-2008, 02:05 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,047
Blog Entries: 11

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I don't know nedit, but in (g)vim and emacs you can invoke an
OS command and capture the output. That aside you can maybe
use xclip to push the output into the X clipboard and paste it
into the editor - not sure whether there's a size limitation on
what you can push into the clip-board, though.

Old 04-10-2008, 12:49 PM   #3
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu LTS
Posts: 93
Blog Entries: 12

Rep: Reputation: 26
Originally Posted by Tinkster View Post
I don't know nedit, but in (g)vim and emacs you can invoke an
OS command and capture the output.
You can do it in gedit, too. I'm using version 2.22.0 and it is even included in the Tools menu, and described in help file. But direct piping from command line as described in help does not work for me - have no idea why?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enhanced command line text editor netsoft2005 Linux - Software 2 07-14-2005 08:42 AM
GUI Text editor PhuckFonix Linux - Software 14 05-16-2005 11:34 AM
GUI text editor for C++ bitessy Linux - Newbie 7 01-23-2004 03:22 AM
Mandrake 9.1 installed command line text editor plexi100 Linux - Newbie 1 11-07-2003 11:25 PM
VI text editor in command line InSane103 Linux - Software 4 07-09-2003 10:04 PM

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration