Re: how to handle record size longer than 255 characters

From: rakesh sharma (sharma__r_at_hotmail.com)
Date: 08/21/03


Date: 21 Aug 2003 14:35:58 -0700


"Kenneth" <kenneth@cde.com> wrote in message news:<bi2u7f$pv58@rain.i-cable.com>...
> I need to read the data for a text files and need to modify that records.
> However if the record is longer than 255 characters, the record read will be
> truncated. How can I read and write (or update) this kind of data?

use perl.

if you don't know perl but know 'awk' then write it in that,
and translate it to 'perl' using 'a2p' converter.



Relevant Pages

  • Re: Reading HTTP response body that is gzipd *and* in UTF-8
    ... The reason I'm not using PerlIO::gzip is mostly just ignorance. ... BM> anything that's visible at the Perl level. ... BM> meaningless to apply gzip to a stream of characters. ... BM> Encode the value of the charset MIME parameter). ...
    (comp.lang.perl.misc)
  • Re: splitting a very large file based on characters in a record (performance)
    ... X (each of 125 characters), and further I have to split the 125 ... While I use awk for most of my text manipulation work, ... personal experience perl will be much faster than awk. ... that I had an awk script and a perl script that read sendmail files to ...
    (comp.unix.shell)
  • Re: FAQ 6.23 How can I match strings with multibyte characters?
    ... Starting from Perl 5.6 Perl has had some level of multibyte character ... See perluniintro, perlunicode, and Encode. ... Other bytes represent single characters, ... I would like to search for a sequence of unicode characters ...
    (comp.lang.perl.misc)
  • Re: Handling international characters in filenames on Win32
    ... > I am struggling with handling accented characters in Win32 long filenames ... > correctly in Perl. ... > international characters in the sub directories names). ... Sounds like one of those codeset conversion problems. ...
    (comp.lang.perl.misc)
  • replacing two EOL chars by one
    ... I want to replace two end of line characters by ... The files in question is unix, ... i realized that the fucking perl to my ... of any line anywhere within the string. ...
    (comp.lang.python)