[Lguest] [PATCH] lguest: Lack of puppies fix.

Till Maas opensource at till.name
Thu Feb 14 09:13:35 EST 2008


On Wed February 13 2008, Tim Ansell wrote:

> I think I might be relying on a Bashism, as it works fine here. What
> shell are you using?

I used bash. With printf it should work everywhere:

http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html#tag_04_41_16

Attached is the patch with s/echo/printf/.

Regards,
Till
-------------- next part --------------
>From 81d8a6d0a07bd796dc57cae5c632e27cda827e75 Mon Sep 17 00:00:00 2001
From: Tim Ansell <mithro at mithis.com>
Date: Mon, 11 Feb 2008 18:13:42 +1030
Subject: [PATCH] Add puppies which where previously missing.
  lguest doesn't have features, it has puppies!


diff --git a/Documentation/lguest/lguest.txt b/Documentation/lguest/lguest.txt
index 722d4e7..578cb3b 100644
--- a/Documentation/lguest/lguest.txt
+++ b/Documentation/lguest/lguest.txt
@@ -1,6 +1,7 @@
-Rusty's Remarkably Unreliable Guide to Lguest
-	- or, A Young Coder's Illustrated Hypervisor
-http://lguest.ozlabs.org
+      __
+ (___()'`;  Rusty's Remarkably Unreliable Guide to Lguest
+ /,    /`      - or, A Young Coder's Illustrated Hypervisor   
+ \\"--\\    http://lguest.ozlabs.org
 
 Lguest is designed to be a minimal hypervisor for the Linux kernel, for
 Linux developers and users to experiment with virtualization with the
diff --git a/drivers/lguest/Makefile b/drivers/lguest/Makefile
index 5e8272d..c7637ef 100644
--- a/drivers/lguest/Makefile
+++ b/drivers/lguest/Makefile
@@ -19,3 +19,12 @@ Beer:
 	@for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}"
 Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery:
 	@sh ../../Documentation/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
+Puppy:
+	@clear
+	@printf "      __  \n (___()'\`;\n /,    /\`\n \\\\\\\"--\\\\\\   \n"
+	@sleep 2; clear; printf "\n\n   Sit!\n\n"; sleep 1; clear
+	@printf "    __    \n   ()'\`;  \n   /\\|\` \n  /  |  \n(/_)_|_   \n"
+	@sleep 2; clear; printf "\n\n  Stand!\n\n"; sleep 1; clear
+	@printf "    __    \n   ()'\`;  \n   /\\|\` \n  /._.= \n /| /     \n(_\_)_    \n"
+	@sleep 2; clear; printf "\n\n  Good puppy!\n\n"; sleep 1; clear
+
-- 
1.5.3.8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20080213/44fc6c10/attachment.pgp>


More information about the Lguest mailing list