On Thursday, 2011-04-14, at 09:58:19 -0700, Micah Cowan wrote:
> (04/09/2011 09:52 AM), Tiago Resende wrote:
>
> >     $ infocmp "$screen_terminfo" | sed \
> >             -e 's/^screen[^|]*\|[^,]*,/screen-it|screen with italics 
> > support,/'
> 
> The \| above should be |. In GNU sed at least, \| is an alternation
> character (equivalent to | in EREs), and so this snippet prepends stuff
> to _every_ line (in other seds, its behavior may vary, but isn't defined
> by any standard).
> 
> (Seb on the IRC chan pointed this out.)

You are absolutely right. I'm so used to ERE that I completely missed
this. Once again, I'm very sorry.

> > OK, now this is embarrassing. This time I got it right, I swear.
> 
> Still a bit wrong, I'm afraid :\

My honor is soiled. I shall pay for it with my life.
*looks for wakizashi*


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to