From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Tue, 5 Jul 2011 09:56:17 +0200 User-Agent: KMail/1.13.6 (Linux/3.0.0-rc5-l33+; KDE/4.5.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201107050956.18175.dexen.devries@gmail.com> Subject: [9fans] grep (or perhaps regex(6)) question Topicbox-Message-UUID: faa18428-ead6-11e9-9d60-3106f5b1d025 on plan9port: % echo foobar | 9 grep '$JUNK' -> foobar that is, p9p grep matches any line with regular expression in form of $ANY_REGEX why is it so? =2D-=20 dexen deVries [[[=E2=86=93][=E2=86=92]]] =46or example, if the first thing in the file is: an XML parser will recognize that the document is stored in the traditional= ROT13 encoding. (( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))