*BSD News Article 33082


Return to BSD News archive

Xref: sserve comp.os.386bsd.misc:2760 comp.os.linux.misc:19991 alt.flame:95063
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!dsinc!newsfeed.pitt.edu!gatech!udel!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!grapevine.lcs.mit.edu!ginger.lcs.mit.edu!wollman
From: wollman@ginger.lcs.mit.edu (Garrett Wollman)
Newsgroups: comp.os.386bsd.misc,comp.os.linux.misc,alt.flame
Subject: Re: BSD vs. LINUX
Date: 21 Jul 1994 22:48:58 GMT
Organization: MIT Laboratory for Computer Science
Lines: 34
Message-ID: <30mu0q$2md@GRAPEVINE.LCS.MIT.EDU>
References: <30jqp1$ees@grex.cyberspace.org> <1994Jul21.182603.15882@belvedere.sbay.org>
NNTP-Posting-Host: ginger.lcs.mit.edu

In article <1994Jul21.182603.15882@belvedere.sbay.org>,
David E. Fox <root@belvedere.sbay.org> wrote:

>for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 \
>         25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 \
>         46 47 48 49 50
>do
>echo "My OS is better than yours"
>done

Try this:

for i in {,{1,2,3,4,5,6,7,8,9},\
{1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}}{0,1,2,3,4,5,6,7,8,9}; do
    echo "MY OS is better than yours"
done

...or even better...

flame() {
    set $1 0
    while [ $2 -lt $1 ]; do
        echo "MY OS is better than yours"
        set $1 `expr $2 + 1`
    done
}

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant