Article View: comp.unix.shell
Article #4150A sed purist's problem: reversing lines char by char, but not the line order in a file
From: gnuist006
Date: Wed, 22 Jan 2003 02:20
Date: Wed, 22 Jan 2003 02:20
5 lines
1299 bytes
1299 bytes
Can the above somehow be done with only sed? I already know how to do with C and rev. and others have put on how to do with awk and perl. Thanks.
Technical Details
Message-ID:
<b00bb831.0301211820.358f6145@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ad19,95a006ecee925e22,start X-Google-Attributes: gid10ad19,public X-Google-Thread: 109f73,95a006ecee925e22,start X-Google-Attributes: gid109f73,public X-Google-Thread: fc89c,95a006ecee925e22,start X-Google-Attributes: gidfc89c,public X-Google-Thread: 1012a6,95a006ecee925e22,start X-Google-Attributes: gid1012a6,public X-Google-ArrivalTime: 2003-01-21 18:20:47 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: gnuist006@hotmail.com (gnuist006) Newsgroups: comp.unix.shell,comp.lang.awk,comp.unix.programmer,gnu.utils.help Subject: A sed purist's problem: reversing lines char by char, but not the line order in a file Date: 21 Jan 2003 18:20:47 -0800 Organization: http://groups.google.com/ Lines: 5 Message-ID: <b00bb831.0301211820.358f6145@posting.google.com> NNTP-Posting-Host: 209.178.176.176 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1043202047 30130 127.0.0.1 (22 Jan 2003 02:20:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 22 Jan 2003 02:20:47 GMT