> Note that the author's vi example to put quotes around lines:
> %s/\(^\|$\)/\"/g
> only works if ^ .ne. $, that is, the line is nonempty.
> (Sorry, mathematicians just love to point out things like this).
 
In other words, the author ignored "boundary conditions" - touché!  Or is this more like a "degenerate case"?

Hartmut Sager


On 13 May 2014 14:08, Michael Doob <mdoob@ad.umanitoba.ca> wrote:

On 14-05-13 12:00 PM, roundtable-request@muug.mb.ca wrote:
Send Roundtable mailing list submissions to
        roundtable@muug.mb.ca

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.muug.mb.ca/mailman/listinfo/roundtable
or, via email, send a message with subject or body 'help' to
        roundtable-request@muug.mb.ca

You can reach the person managing the list at
        roundtable-owner@muug.mb.ca

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Roundtable digest..."


Today's Topics:

    1. The Oldest Rivalry in Computing (John Lange)


----------------------------------------------------------------------

Message: 1
Date: Mon, 12 May 2014 15:42:28 -0500
From: John Lange <john@johnlange.ca>
To: "Roundtable, MUUG" <Roundtable@muug.mb.ca>
Subject: [RndTbl] The Oldest Rivalry in Computing
Message-ID:
        <CAPfXosj4MbcxL_X40Ef4jk31jyYuDpdrjwCR1mJJbP=ewNNiwA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This mailing list is the only place I can think of where I could possibly
share this article:

"Emacs and Vi have been battling for text-editor supremacy among
programmers for 40 years."

http://www.slate.com/articles/technology/bitwise/2014/05/oldest_software_rivalry_emacs_and_vi_two_text_editors_used_by_programmers.html


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.muug.mb.ca/pipermail/roundtable/attachments/20140512/d628fad5/attachment-0001.html>

------------------------------

_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable


End of Roundtable Digest, Vol 113, Issue 2
******************************************
Note that the author's vi example to put quotes around lines:

%s/\(^\|$\)/\"/g

only works if ^ .ne. $, that is, the line is nonempty.

(Sorry, mathematicians just love to point out things like this).

Cheers,
Michael

--
------------------------------------------------------------------
Michael Doob                    Telephone: (204) 474-9796
Department of Mathematics       Fax: (204) 474-7606
University of Manitoba          email: Michael_Doob@umanitoba.ca
Winnipeg, MB, Canada R3T 2N2
------------------------------------------------------------------

_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable