Sed is slow

Gerald Combs gerald at ethereal.com
Thu Jul 12 18:21:35 CDT 2001


On Thu, 12 Jul 2001, David Woo wrote:

> Thanks for all the suggestions.  I have another dumb question - can I
> just take an earlier version of sed - say on RedHat 5.2 or 4.1 and just
> copy the sed executable onto a floppy and then transfer and use that
> version on RedHat 7.0?  - or does sed use some of the libraries that had
> been on 5.2/4.1 - and thus won't work on RH 7.0?
> 
> -Or even another possibility, can I use the SCO sed binary and run it on
> RedHat 7.0 with ibcs?  I've tried to get ibcs running without any
> success at all:
> 
>    a)  rpm -qa | grep ibcs shows:
> 
>                 kernel-ibcs-2.2.16-22
> 
> [root at rh70 /tmp]# lsmod
> Module                  Size  Used by
> epca                   38316  16
> lockd                  31176   1  (autoclean)
> sunrpc                 52964   1  (autoclean) [lockd]
> tlan                   20200   1  (autoclean)
> st                     25164   0  (unused)
> ncr53c8xx              52356   0
> cpqarray               15368   5
> [root at rh70 /tmp]#
> 
>     b) I have copied all of the SCO binaries from /shlib to the RefHat
> 7.0 /shlib
> 
>     c) When I try to run the classic "Hello World" program that I
> compiled on SCO on RedHat 7.0 - it gives the following message - as does
> EVERY SCO program I run::
> 
>                 [root at rh70 /tmp]# ./a.out
>                 bash: ./a.out: cannot execute binary file

It sounds like your kernel doesn't support a.out executables out of the
box (Red Hat switched to ELF around version 4 or 5, I think).  Do you have
modular support for a.out, i.e. do you have a binfmt_aout module?  What
happens when you load it, and then try to run sed?

> 
> Has anyone ever gotten ibcs to run any SCO programs on RedHat?
> 
> TIA...
> 
> 
> 
> 




More information about the Kclug mailing list