Newsgroup: it.lavoro.informatica
Titolo: rilasciato il codice originiale di DOS e Word

http://www.computerhistory.org/_static/atchm/microsoft-ms-dos-early-source-code/
 
 
E ci sono ancora parecchie imprecazioni:
 
 
$ grep -R fuck Word\ 1.1a\ CHM\ Distribution/*
 
Word 1.1a CHM Distribution/Opus/asm/wordgrep.asm:; BP  is used as always, the other registers are free to fuck with.
Word 1.1a CHM Distribution/Opus/asm/wordgrep.asm:   je  another_fucking_out_of_range_jump
Word 1.1a CHM Distribution/Opus/asm/wordgrep.asm:another_fucking_out_of_range_jump:
 
 
grep -i DAMN vsource/.ASM
 
v11source/ASM.ASM:; 08/18/82 2.42 Increase stack from 80 to 256 (Damn! Overflowed again!)
 
 
$ grep -R shit Word\ 1.1a\ CHM\ Distribution/*
 
1.1a\ CHM\ Distribution
Word 1.1a CHM Distribution/Opus/rsb.c:          /* convert HT value into a move value. This is shitty,
 
grep -iR \\bstupid Word\ 1.1a\ CHM\ Distribution
Word 1.1a CHM Distribution/Opus/renum.c:            /* catch bogus user input of stupidly large numbers... */
Word 1.1a CHM Distribution/Opus/docman2.c:      pchPattern++;       /* starting a pattern with * is stupid */
Word 1.1a CHM Distribution/Opus/wordtech/error.c:   StKey("Style cannot be based on itself.",StupidBasedOn)              },
 
grep -iR \\bhorrible Word\ 1.1a\ CHM\ Distribution
Word 1.1a CHM Distribution/Opus/CMD3.C: TurnOffSel(&selCur); /* to avoid horrible flashing */
Word 1.1a CHM Distribution/Opus/CMD3.C:         TurnOffSel(&selCur);    /* to avoid horrible flashing */
Word 1.1a CHM Distribution/Opus/grswath.c:          { /* this is the horrible case of landscape bitmaps & !fvertdev */
Word 1.1a CHM Distribution/Opus/insfield.c:#ifdef HORRIBLEFLUSHING
Word 1.1a CHM Distribution/Opus/insfield.c:#endif /* HORRIBLEFLUSHING */
 
grep -iR \\bpuke Word\ 1.1a\ CHM\ Distribution
Word 1.1a CHM Distribution/Opus/dlglook1.c:             FormatLine pukes...generates a 256 point line */
Word 1.1a CHM Distribution/Opus/fltexp.c:               goto LReturnCh; /* This should make the parser puke. */
Word 1.1a CHM Distribution/OpusEtAl/cashmere/fldexp/expmod.c:               return (ch); /* This should make the parser puke. */
Word 1.1a CHM Distribution/OpusEtAl/cashmere/fldexp/expmod.c:               return (chDecimal); /* This should make parse puke. */ 
 
 
-- 
Soprano

 E ci sono ancora parecchie imprecazioni:
 
  Dilettanti!  :-)
 
alessandro@hal9k linux-3.13.7 $ find . -type f -exec grep -i fuck {} \;
 * (And this is the fucking 'basic' method).
                        /* Fuck, we are miserable poor guys... */
 * Wirzenius wrote this portably, Torvalds fucked it up :-)
        case XFS_BTNUM_MAX: ASSERT(0); /* fucking gcc */ ; break;       \
        case XFS_BTNUM_MAX: ASSERT(0); /* fucking gcc */ ; break;       \
         * fucked up somewhere.
/* Am I fucking pedantic or what? */
/* Only Sun can take such nice parts and fuck up the programming interface
                /* This card is _fucking_ hot... */
           registered, to prevent the link/init ordering from fucking
                                           BUG? Why does turning the chroma
comb on fuck up color?
 *  These chips are basically fucked by design, and getting this driver
#define NV_PPWR_INTR_EN_CLR_MASK                    /* fuck i hate envyas */ -1
        /* XXX: where the fuck does 750MHz come from? */
         * avoid fucking up the memory controller (somehow) by reading it
 * Some Athlon laptops have really fucked PST tables.
/* Fucking broken ABI */
         * fucking with the memory controller because it needs to know the
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't try to access
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't try to access
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't try to access
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't even give the
         * IOC3 is fucking fucked beyond belief ...  Don't try to access
/* master list of VME vectors -- don't fuck with this */
       If you don't see why, please stay the fuck away from my code.
alessandro@hal9k linux-3.13.7 $ find . -type f -exec egrep -i
'(fuck|stupid|idiot|damn)' {} \; | wc -l
292
alessandro@hal9k linux-3.13.7 $
 
  Ora che ci penso, perņ, tenuto conto della quantitą complessiva di codice
tra il DOS anni '90 e Linux anno 2014, il confronto č pazzesco!
 
 
  Ciao,
 
 
-- 
Alessandro Selli 
http://alessandro.route-add.net
 
AVVERTENZA: i messaggi inviati a "trappola" non mi arriveranno.
WARNING: messages sent to "trappola" will never reach me.

 grep -iR \\bstupid Word\ 1.1a\ CHM\ Distribution
 
cosa significa la  \\b   messa davanti alla parola da cercare?
 
ciao
 
 
 


è il carattere regex per inizio e fine delle parole. Messo all'inizio 
cerca tutte le parole che iniziano per stupid, se lo metti anche alla fine 
tipo \bstupid\b cerca solo la parola intera.
 
-- 
Soprano

 tra il DOS anni '90 e Linux anno 2014, il confronto è pazzesco!
 
immagino si riferisca alle parolacce nel word, nel dos non ne ho visto, o per lo meno non nel code a cui rimanda il sito:
http://www.computerhistory.org/_static/atchm/microsoft-ms-dos-early-source-code/agreement/
 
 
Ho dato un colpo di grep e c'e' solo un "Damn! Overflowed again!" in ASM.ASM, in un revision history item dell'83! :-)
 
oppure interessante il commento:
";Some code for new 2.0 DOS, sort of HACKey.  Not enough time to
 ;               do it right."
 
BTW, che figata, saranno passati almeno una ventina d'anni da quando non smanettavo il 
COMMAND.COM
 con l'editor esadecimale, e non mi sembra vero di vedere i sorgenti originali della versione 1.1 :-))