Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D098337BFB3 for ; Tue, 30 Sep 2008 01:44:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 37952-04 for ; Tue, 30 Sep 2008 01:44:13 -0300 (ADT) X-Greylist: delayed 00:19:57.939034 by SQLgrey-1.7.6 Received: from outbound-mail-37.bluehost.com (outbound-mail-37.bluehost.com [69.89.20.191]) by postgresql.org (Postfix) with SMTP id A419037BFAA for ; Tue, 30 Sep 2008 01:44:13 -0300 (ADT) Received: (qmail 11955 invoked by uid 0); 30 Sep 2008 04:17:31 -0000 Received: from unknown (HELO host28.hostmonster.com) (74.220.202.28) by outboundproxy2.bluehost.com with SMTP; 30 Sep 2008 04:17:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=harts.net; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:X-Identified-User; b=F7LoJNkdwna//W565bWj+0d043zg3ZNNliKdvUNdeEIUM+5UnZpe64e4j8Tn0JRFcAwTwu77PeEuj8Mfk0cPF1S9eUvarw8uKSKHt6BY64mXiEKIJprxCwzhARmoFPgU; Received: from fw-open-virt.gene.com ([192.12.78.250] helo=[172.31.2.82]) by host28.hostmonster.com with esmtpa (Exim 4.69) (envelope-from ) id 1KkWfz-0008DX-Cy; Mon, 29 Sep 2008 22:17:31 -0600 Subject: Re: Hex representation From: Reece Hart To: Steve Martin Cc: Carol Walter , "Plugge, Joe R." , Steve Crawford , Scott Marlowe , pgsql-admin@postgresql.org In-Reply-To: <48DC302B.7000100@nec.co.nz> References: <337D9AE2-2BEF-48E3-8DF4-E7F0CA560A1B@indiana.edu> <48DBCD2B.6020108@pinpointresearch.com> <32CC45C5BDC57241B9BCEF37AC0C5DB5080B9A0E@OMAEXMB02.corp.westworlds.com> <48DC302B.7000100@nec.co.nz> Content-Type: multipart/alternative; boundary="=-eN9BEIrPRjH7c1wjG2+c" Date: Mon, 29 Sep 2008 21:17:23 -0700 Message-Id: <1222748243.7111.100.camel@snafu> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-Identified-User: {900:host28.hostmonster.com:hartsnet:harts.net} {sentby:smtp auth 192.12.78.250 authed with reece@harts.net} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200809/349 X-Sequence-Number: 30442 --=-eN9BEIrPRjH7c1wjG2+c Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-eN9BEIrPRjH7c1wjG2+c Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit 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
--=-eN9BEIrPRjH7c1wjG2+c--