grep data at erlang console

View: New views
2 Messages — Rating Filter:   Alert me  

grep data at erlang console

by fedora-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, any one know a quick way to grep or sort  the long output of
erlang console ? for example, process list,  something should like
grep( "keyword", i() ) , sort( i() ) , sort( nodes() ) .

Thanks.

John

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org


Re: grep data at erlang console

by Roberto Aloi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In these cases I usually run the shell from within Emacs and I do the  
grepping and all other operations there. Macros are also useful.

Roberto Aloi
Erlang Training and Consulting Ltd.
http://www.erlang-consulting.com

On 3 Nov 2009, at 23:41, fedora <fedora789@...> wrote:

> Hi, any one know a quick way to grep or sort  the long output of
> erlang console ? for example, process list,  something should like
> grep( "keyword", i() ) , sort( i() ) , sort( nodes() ) .
>
> Thanks.
>
> John
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org