LWN.net Logo

SCO update

SCO update

Posted Nov 20, 2003 3:01 UTC (Thu) by freethinker (guest, #4397)
Parent article: SCO update

Many people wondered why the files were listed in this sort of "flattened" form until it was pointed out that SCO's Unix offerings lack a version of "grep" which can do recursive searches. They had to have some poor intern rename all of the files into a single directory so that they could search through them.

And, it being SCO, it's hardly surprising no one thought to use find and xargs.


(Log in to post comments)

SCO update

Posted Nov 20, 2003 3:41 UTC (Thu) by proski (subscriber, #104) [Link]

Most likely somebody (perhaps a secretary using Microsoft Office) just couldn't find slash on the keyboard.

SCO update

Posted Nov 20, 2003 4:12 UTC (Thu) by gte223j (guest, #6492) [Link]

this has to be one of the funniest things that i have read in regards to this whole sco fiasco. what a bunch of losers.

SCO update

Posted Nov 20, 2003 9:38 UTC (Thu) by Liefting (subscriber, #8466) [Link]

xargs? That's for the seriously advanced administrators; you need to be an SMP developer to be able to use that. Does SCO have any?

Less efficient, but easier to understand is

find /usr/src/linux -type f -exec grep -l SMP {} \;

But even that is something they didn't came up with. Geez, are these guys really claiming to be the owners of UNIX?

SCO update

Posted Nov 21, 2003 5:53 UTC (Fri) by error27 (subscriber, #8346) [Link]

These simplified commands were stolen from a post by Newsome on Groklaw:

egrep -wilr --include "*.[ch]" 'smp|rcu|numa' * > /tmp/output1

find fs/jfs -type f -path "*.[ch]" >> /tmp/output1

egrep -v 'alpha|parisc|sparc|sound|drivers' /tmp/output1 \\
| sort -u > /tmp/SCOFiles-list2.output

They generate the SCO list almost exactly except it includes
"include/asm-h8300/smplock.h" and SCO does not. The interesting thing for me was that they removed all the files for HP and Sun hardware. The Alpha supports NUMA but that was removed from SCO's list.

SCO update

Posted Nov 20, 2003 10:27 UTC (Thu) by hppnq (guest, #14462) [Link]

It makes you wonder how they struggled to create the list. What I wouldn't give to have been in that room! ;-)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds