Re: ascii nulls, awk, and tr

From: all mail refused (elvis_at_notatla.org.uk)
Date: 08/03/04


Date: 3 Aug 2004 21:22:59 GMT

In article <jppvg0lugiqg7csdiqvtfcqm6fe605j5un@4ax.com>, Gerard C Blais wrote:

>I'd like to delete the null characters.

>I also have a lot of other things to do to the rows, and I'm doing
>them in awk already, so adding something to an awk script would be a
>nice way to go.

perl

-- 
Elvis Notargiacomo  master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/


Relevant Pages

  • Re: sed: s/// not an address?
    ... But why can I use, for instance, the p command but not h? ... stubborn sed phase. ... perl, ... the awk script would be: ...
    (comp.unix.shell)
  • Re: regex within a DCL procedure
    ... did I missed another lighter tool? ... Perl is an obvious choice. ... Since we had twenty-five systems in the data center and up to a dozen licenses per system this was quite a task. ... I spent part of the weekend developing and debugging my awk script, came in Monday morning, ran my script on each system and handed the results to my boss half an hour or so later. ...
    (comp.os.vms)
  • Re: evaluation of logical expression
    ... Ed Morton wrote: ... not even TAWK has eval. ... Perl does... ... build procedure to make it assemble the AWK script before running it. ...
    (comp.lang.awk)
  • Re: question about the linux command "file"
    ... > interested in doing this in perl but I dont know perl atm... ... > JPEG image data:jpg ... > MPEG video stream data:mpg ... I would use an awk script where BEGIN reads in the .matrix file and ...
    (comp.unix.shell)
  • Re: OT: a problem about text manipulation
    ... If I ever happen to get motivated I might try and do an awk script for ... It's likely to be much simpler/smaller than the perl version ... sumo game ranks and other interesting junk ...
    (Fedora)