Hi,

Here is the use case.

After I run a certain program, at the end that program outputs something
like:

*Log location: /path/to/the/log/some_file_random_seed.txt*

I would like a write a little shell script to parse the last, let's say, 20
lines in the tmux history and be able to 'cd' to that log location or open
that log in a chosen editor.

But to begin with, I am unable to find a way to copy the last few lines of
the current pane history using a script.

Is it possible to do so?

Thanks.


--
Kaushal Modi
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to