[H-GEN] Sed is your friend
Greg Black
gjb at gbch.net
Sat Jul 19 18:08:14 EDT 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On 2003-07-18, Robert Brockway wrote:
> Hi all. While solving a particular problem with sed (done now) I came
> across this useful little page so I thought I'd share it.
>
> Sed one liners (most recent version I found in a quick check):
>
> http://www.student.northpark.edu/pemente/sed/sed1line.txt
In fact, Eric Pement has a whole bunch of useful sed information
and links to other references that you can access by using that
URL up to the final "/", not to mention other useful stuff on
awk and (to a lesser extent) perl if you stop at the 2nd last
"/". You'll also trip over his christian ideology there[1], but
it does not get in the way of the technical information.
However, the URL above does demonstrate yet another annoying bug
in Opera-6.1 which renders the information useless to people who
might need to read it -- Opera displays the "backtick" (`) [0]
character the same as the "single quote" (') character; since
plenty of the examples use both of these characters (and they
are not interchangeable), the examples are tricky to read.
Mozilla-0.9.3 has the same fault as Opera. Netscape-4.76 and
Konqueror from KDE-3.1 do not have the bug. Not surprisingly,
w3m does the right thing too. And, in late-breaking news, I see
that Mozilla-1.3.1 on my Debian box also displays it correctly.
At any rate, it's clear that you need to use the right browser
if you want to get value from this material -- and from lots of
other technical material that is available out there.
Cheers, Greg
[0] If the "`" and "'" look the same to you in your mail reader,
you also need a new mail reader.
[1] I would not normally make a note of somebody's religious
beliefs and have no quarrel with any religion; but I find
that people who make a point of their religion often manage
to spoil their technical efforts and I wanted to reassure
potential visitors to Eric's stuff that they could go there
without having to deal with religion.
--
Greg Black <gjb at gbch.net> <http://www.gbch.net/gjb.html>
GPG signed mail preferred; further information in headers.
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list