Re: Hex representation

From: Reece Hart <reece(at)harts(dot)net>
To: Steve Martin <steve(dot)martin(at)nec(dot)co(dot)nz>
Cc: Carol Walter <walterc(at)indiana(dot)edu>, "Plugge, Joe R(dot)" <JRPlugge(at)west(dot)com>, Steve Crawford <scrawford(at)pinpointresearch(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Hex representation
Date: 2008-09-30 04:17:23
Message-ID: 1222748243.7111.100.camel@snafu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I can't resist one-liner games.

$ perl -e 'print "U"x(256*1024)' >Us

or, if you specifically want to specify hex:
$ perl -e 'print chr(hex(55))x(256*1024)' >Us

-Reece

--
Reece Hart, http://harts.net/reece/, GPG:0x25EC91A0

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Mason 2008-09-30 12:04:29 Re: PostgreSQL Cache
Previous Message Steve Crawford 2008-09-29 23:57:53 Re: Do we need vacuuming when tables are regularly dropped?