Re: Hex representation - Mailing list pgsql-admin

From Carol Walter
Subject Re: Hex representation
Date
Msg-id B69C54C5-4A69-493B-ACA2-E9F3D3E5DC19@indiana.edu
Whole thread Raw
In response to Re: Hex representation  (Steve Crawford <scrawford@pinpointresearch.com>)
Responses Re: Hex representation  ("Plugge, Joe R." <JRPlugge@west.com>)
List pgsql-admin
Well, it was a bit convoluted, but I created the file with Excel,
filling the right number of cells with \x55.  This worked too.  The
script wouldn't run for me.  I got an error about a "bad interpreter".

Carol

On Sep 25, 2008, at 1:40 PM, Steve Crawford wrote:

> Scott Marlowe wrote:
>> I used this very simple little php script to make this
>>
>> filename: mk55:
>> #!/usr/bin/php -q
>> <?php
>> for ($i=0;$i<262144;$i++){
>>     print chr(85);
>> }
>> ?>
>>
> Or, using standard *nix tools (Note: 0x55 = ascii U):
> dd bs=1k count=256 if=/dev/zero | tr '\000' U  > full_of_0x55
>
> Cheers,
> Steve
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin


pgsql-admin by date:

Previous
From: "Tena Sakai"
Date:
Subject: Re: Hex representation
Next
From: "Plugge, Joe R."
Date:
Subject: Re: Hex representation