>>>>> "JLH" == Jeremie Le Hen <jeremie_at_le-hen.org> writes: >> But, well, it would actually be nice if PCREs would be available as an >> *option*. Analogue to grep, grep -E / sed, sed -E, ... JLH> Note that the pcre port is shipped with the pcregrep command. JLH> There is unfortunately no pcresed or pcreawk command. If someone wants a *really* perl compatible sed, why not just use perl? perl -p -e 's/regex/replacement/' is the same thing as sed -e 's/regex/replacement/' except, of cource, for the differences in regex (and replacement) syntax. A similar replacement is easily created for awk (see the perlrun manpage). -- Rasmus Kaj ----------------------------------------------- rasmus_at_kaj.se \ Send me all ``mail viruses'' you want - I use Unix, secure by default. \------------------------------------- http://www.stacken.kth.se/~kaj/Received on Sun Feb 20 2005 - 18:32:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC