Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!usc!orion.oac.uci.edu!cedman From: cedman@golem.ps.uci.edu (Carl Edman) Newsgroups: comp.sys.amiga.programmer Subject: Re: Ok.Somebody Post a 20byte Hello World prg!! Message-ID: Date: 25 Feb 91 14:59:52 GMT References: <91053.081053J56QC@CUNYVM.BITNET> <18bd40a0.ARN0184@prolix.pub.uu.oz.au> Followup-To: comp.sys.amiga.programmer Organization: University of California, Irvine, USA. Lines: 41 Nntp-Posting-Host: lynx.ps.uci.edu In-reply-to: dac@prolix.pub.uu.oz.au's message of 25 Feb 91 11:20:32 GMT In article <18bd40a0.ARN0184@prolix.pub.uu.oz.au> dac@prolix.pub.uu.oz.au (Andrew Clayton) writes: > 1 123456789012345678 > 1> echo "Hello World" > Hello World > > Nah! 17 bytes! :-) > Nah, 18. ;-) (19 with Ctrl-J) Alias e echo 1 1234567890123 2. Dac > e Hello_World Hello_World 13 bytes. I tried aliasing 'h' to hello and 'w' to world, but that didn't work, of course. :-) The shortest way is just Hello_World all by itself, and the shell responds with 'Unknown command Hello_world' 11 bytes. Not including the ^j at the end. :-) No, you can use. Just use alias e "echo hello world" e Say 1 byte (+ ^J). Isn't this silly. Very. Carl Edman "We hold that what one man cannot morally do, a million men cannot morally do, and government, representing many millions of men, cannot do." -- Auberon Herbert Send mail to Carl Edman