cowsay help

Peter Garrett peter.garrett at optusnet.com.au
Thu Sep 25 02:06:52 UTC 2008


On Wed, 24 Sep 2008 17:11:13 -0700
John Hubbard <ender8282 at yahoo.com> wrote:

> When using cowsay, how do I control when the cow divides my message onto 
> multiple lines?  I tried
> $ cowsay line1/
>  >line2
>  >
> but I got:
>  ____________
> < line1line2 >
>  ------------
>         \   ^__^
>          \  (oo)\_______
>             (__)\       )\/\
>                 ||----w |
>                 ||     ||
> 
> How can I get the cow to say my motd when I log in via ssh? 

 printf "Hello there \n I'm a cow... \n" | cowsay 

/ Hello there   \
|                     |
\ I'm a cow...  /
 ---------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Peter

-- 
"INX Is Not X" Live CD based on Ubuntu 8.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080925/3e22c3e8/attachment.sig>


More information about the ubuntu-users mailing list