cowsay help
John Hubbard
ender8282 at yahoo.com
Thu Sep 25 03:08:10 UTC 2008
Peter Garrett wrote:
> 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
>
>
Thanks. That was perfect. Now, how do I get the the cow to say my motd?
--
-john
To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.
More information about the ubuntu-users
mailing list