9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] grep (or perhaps regex(6)) question
@ 2011-07-05  7:56 dexen deVries
  2011-07-05 11:56 ` Rudolf Sykora
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: dexen deVries @ 2011-07-05  7:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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?

-- 
dexen deVries

[[[↓][→]]]

For example, if the first thing in the file is:
   <?kzy irefvba="1.0" rapbqvat="ebg13"?>
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 ))



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-11  0:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-05  7:56 [9fans] grep (or perhaps regex(6)) question dexen deVries
2011-07-05 11:56 ` Rudolf Sykora
2011-07-05 12:13 ` erik quanstrom
2011-07-05 12:40   ` Rudolf Sykora
2011-07-05 12:58     ` erik quanstrom
2011-07-05 14:01       ` Rudolf Sykora
2011-07-05 14:06         ` erik quanstrom
2011-07-11  0:08 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).