From: Ian Campbell Subject: Re: [Patch v3 0/2] Remove figlet from the source tree Date: Tue, 26 Nov 2013 08:35:49 +0000 Message-ID: <1385454949.23632.9.camel@dagon.hellion.org.uk> References: <21139.24824.714347.885808@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Matthew Daley Cc: Keir Fraser , George Dunlap , Andrew Cooper , Ian Jackson , Xen-devel , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2013-11-26 at 14:25 +1300, Matthew Daley wrote: > Aww. I was gonna submit a replacement shell one-liner, like this: > > $ banner () { f=`mktemp`; for c in `echo -n "$1" | od -An -b`; do tail > -n+$(((0$c - 32) * $3 + $4)) $2 | head -n6 | cut -b2- | paste -d@ $f - > > $f.; mv $f{.,}; done; tr -d @ < $f | tr $ ' '; rm $f; } > $ banner "Xen 4.4-blah" xen/tools/figlet/xen.flf 6 16 > __ __ _ _ _ _ _ _ _ > \ \/ / ___ _ __ | || | | || | | |__ | | __ _ | |__ > \ / / _ \| '_ \ | || |_ | || |_ __ | '_ \ | | / _` || '_ \ > / \ | __/| | | | |__ _| _ |__ _||__|| |_) || || (_| || | | | > /_/\_\ \___||_| |_| |_| (_) |_| |_.__/ |_| \__,_||_| |_| Wowza! Put the keyboard down and step away from the shell! ;-) Ian.