|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Patch v3 0/2] Remove figlet from the source tree
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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |