pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reece Hart <reece@harts.net>
To: Steve Martin <steve.martin@nec.co.nz>
Cc: Carol Walter <walterc@indiana.edu>
Cc: Plugge, Joe R. <JRPlugge@west.com>
Cc: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Hex representation
Date: Mon, 29 Sep 2008 21:17:23 -0700
Message-ID: <1222748243.7111.100.camel@snafu> (raw)
In-Reply-To: <48DC302B.7000100@nec.co.nz>
References: <337D9AE2-2BEF-48E3-8DF4-E7F0CA560A1B@indiana.edu>
	<dcc563d10809241243t20c14dbcl65089e12d54de44@mail.gmail.com>
	<48DBCD2B.6020108@pinpointresearch.com>
	<B69C54C5-4A69-493B-ACA2-E9F3D3E5DC19@indiana.edu>
	<32CC45C5BDC57241B9BCEF37AC0C5DB5080B9A0E@OMAEXMB02.corp.westworlds.com>
	<48DC302B.7000100@nec.co.nz>

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

view thread (10+ messages)

Message-ID: <1222748243.7111.100.camel@snafu>
Permalink:  ../1222748243.7111.100.camel@snafu/
Also on:    postgresql.org/message-id/1222748243.7111.100.camel@snafu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: reece@harts.net, steve.martin@nec.co.nz, walterc@indiana.edu, JRPlugge@west.com, scrawford@pinpointresearch.com, scott.marlowe@gmail.com
  Subject: Re: Hex representation
  In-Reply-To: <1222748243.7111.100.camel@snafu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox