As part of migrating a script from SunOS to MP RAS, the following script is not functioning in desired way.
The -u is fetching unique records differently on SunOS and MP RAS Pentium IV. And thus the records are mismatching. The file "textfile1.out" is same for both OS.
I'm not supposed to change the fields that is being sorted.
Could anyone please tell me how to get out of this problem. Atleast give me some clues.
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
I am wanting to compile unrar on our MPRAS UNIX system. The currently available source (from www.rarlab.com) does not support this system and I am not sure how to configure the makefile to work.
Has anyone been able to get this to work on MPRAS and can supply me with some direction?
Thanks... (0 Replies)
Hi,
Can someone tell me why the "LargeFile" is coming first before the smaller files. Is there any way to list the files based on size column.
ls -g| sort -k 4
-rw-r--r-- 1 user 6117910528 Apr 28 15:04 LargeFile
-rw-r--r-- 1 user 6136832 May 30 07:23 my_20080530.tar
-rw-r--r-- ... (2 Replies)
Hi All,:)
In my application malloc is returning NULL even though there is sufficient amount of free memory available but the swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?
Few details:
... (4 Replies)
Hi All,
I have two files say file1 and file2.
I want to check the number of records in file1 and if its atleast 2 (i.e., 2 or greater than 2 ) then I have to check records in file2 .If records in file2 is atleast 1 (i.e. if its not empty ) i have to set some conditions .
Could you pls... (3 Replies)
Hi all,
I am using this command "sort -d -u -k1 IMSTEST.74E -o tmp.txt" to the records in the flat.
Can any tell me how to sort the file except first line in the file
For ex:
i/p
First line: DXYZ
Second line : jumy
third : cmhk
fourth : andy
Output should... (5 Replies)
hi,
Please suggest me how to do this logic
say i am dynamically taking a file name into the script.
when ever a file name it should sort the all the records based on the first character in every line except the heading line and ending line.
for example
file1
heading... (1 Reply)
Hi Everyone,
I have below record set. File is fixed widht file
101newjersyus 20150110
101nboston us 20150103
102boston us 20140106
102boston us 20140103
I need to group record based on first 3 letters in our case(101 and 102)
and sort last 8 digit in ascending order and print only... (4 Replies)
I have a texinfo file containing book records and I want to sort them. An example is shown below.
Records are separated by two blank lines. The sort pattern I want to sort is starting from the beginning of the year declaration and finishing at the beginning of the book title where I use the... (4 Replies)
Discussion started by: Danette
4 Replies
LEARN ABOUT NETBSD
compat_sunos
COMPAT_SUNOS(8) BSD System Manager's Manual COMPAT_SUNOS(8)NAME
compat_sunos -- setup procedure for m68k, sparc and sparc64 architectures
DESCRIPTION
NetBSD/sparc64, NetBSD/sparc and some of the NetBSD/m68k architectures can run SunOS executables. Most executables will work.
The exceptions include programs that use the SunOS kvm library, and various system calls, ioctl()'s, or kernel semantics that are difficult
to emulate. The number of reasons why a program might fail to work is (thankfully) longer than the number of programs that fail to run.
Static executables will normally run without any extra setup. This procedure details the directories and files that must be set up to allow
dynamically linked executables to work.
The files you need are on your SunOS machine. You need to worry about the legal issues of ensuring that you have a right to use the required
files on your machine. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr/lib /emul/sunos/usr/5lib
2. cp SunOS:/usr/lib/lib*.so.*.* NetBSD:/emul/sunos/usr/lib
3. cp SunOS:/usr/5lib/lib*.so.*.* NetBSD:/emul/sunos/usr/5lib
4. cp SunOS:/usr/lib/ld.so NetBSD:/emul/sunos/usr/lib/ld.so
5. If you ever expect to use YP, you will want to create a link:
ln -s /var/run/ypbind.lock /etc/ypbind.lock
Alternatively, you can use an NFS mount to accomplish the same effect. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr
2. mount SunOS:/usr /emul/sunos/usr
This will place the SunOS libraries on your NetBSD machine in a location where the SunOS compatibility code will look for first, where they
do not conflict with the standard libraries.
NOTES
When using compat_sunos on NetBSD/sparc64, the COMPAT_NETBSD32 option must also be used.
BUGS
A list of things which fail to work in compatibility mode should be here.
SunOS executables can not handle directory offset cookies > 32 bits. Should such an offset occur, you will see the message ``sunos_getdents:
dir offset too large for emulated program''. Currently, this can only happen on NFS mounted filesystems, mounted from servers that return
offsets with information in the upper 32 bits. These errors should rarely happen, but can be avoided by mounting this filesystem with offset
translation enabled. See the -X option to mount_nfs(8). The -2 option to mount_nfs(8) will also have the desired effect, but is less
preferable.
The NetBSD/sparc64 support is less complete than the other ports.
BSD February 3, 2001 BSD