07-08-2002
were could i get sorce codes
were could i get sorce codes for Linux OS of people that change or emulate programs for other Unix based OS's. for example i am looking for a way to emulate mac os programs to linux. were could i go for source codes or already emulated porgrams that i could download. i am very courios about finding out how much compatibility is shared throught unix based operating systems and also wondering ways of installing and runing differnt unix systems on my new computer. i made this computer my self and i am now starting to master linux, witch it runs smothly. if you have any sudgestions on good additions to my new computer that would aplify my unix experience and work abbility, plus compatibility please share with me. i am looking foward to a way that i could get the best out of my new workstation and hopefully can get mac os x installed on my workstation so that i could have mac and linux together, it may sound farfetched but hopefully it can be done. i am wondering if you know anything about these subjects that might help me if so please respong, thank you.
10 More Discussions You Might Find Interesting
1. Programming
Where can a locate a list of Unix exit codes?
thank you,
Donna (3 Replies)
Discussion started by: donna carter
3 Replies
2. Shell Programming and Scripting
nawk 'FNR > 3 {printf("%s%c", $0, OFS)}END{print ""}' "$1" > "$1".out && mv "$1
".out "$1"
what is FNR? or printf("%s%c",$0, OFS)}?
sorry..im lost... (2 Replies)
Discussion started by: forevercalz
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Can anyone tell me if there are return codes for SFTP? If so how would you capture them? I've tried 'man sftp' but its not particularly helpful.
Many thanks
Helen :confused: (4 Replies)
Discussion started by: Bab00shka
4 Replies
4. UNIX for Advanced & Expert Users
Know any good codes? (2 Replies)
Discussion started by: fgjiu
2 Replies
5. UNIX for Advanced & Expert Users
I have a simple script which renames a file.How do i capture the return code of the script if the script fails (3 Replies)
Discussion started by: kris01752
3 Replies
6. Shell Programming and Scripting
Hi
In an unix script I am using an Perl one liner perl -i -ne '-----'
If the perl one liner fails i am not able to catch the return code.
It always give 0 as return code. Can you tell me how can i catch the return code
perl -i -ne '---'
RETCODE=$?
echo $RETCODE
Thanks and Regards
Ammu (2 Replies)
Discussion started by: ammu
2 Replies
7. Shell Programming and Scripting
Good Morning All..
I was wondering about getting exit codes of a command in a shell script. I'm trying to run uvscan (McAfee command line scanner) and I want to have the log file say why, if at all, the process failed/exited.
Something to the extent of
If ; then
echo "This is why it... (1 Reply)
Discussion started by: cmschube
1 Replies
8. Shell Programming and Scripting
Hi,
I wanted to know the significance of different return codes when we do echo $?
I know when $? returns 0 the command has worked successfully.
but what does $? = 1, 2, 3 etc. signify.
Thanks in advance for the help !!! (3 Replies)
Discussion started by: aarti.popi
3 Replies
9. Linux
I am trying to run this SH on Linux and getting error at IF condition.
I want to read the EXIT code and send the failure or success message.
Please help me on this. This worked when i was running on Solaris.
#!/bin/bash
$ORACLE_HOME/bin/sqlplus abc/xyz@qwe @/home/test.sql
if ;... (4 Replies)
Discussion started by: rlmadhav
4 Replies
10. UNIX for Dummies Questions & Answers
Not sure if this is of any use but......
I was messing around with getting return codes greater than 255 for special usage...
Of course the code could be made simple but in this code the new stored return code
is generated as exit is progressing...
#!/bin/sh
# Real and imaginary return... (9 Replies)
Discussion started by: wisecracker
9 Replies
LEARN ABOUT SUSE
curl_getenv
curl_getenv(3) libcurl Manual curl_getenv(3)
NAME
curl_getenv - return value for environment name
SYNOPSIS
#include <curl/curl.h>
char *curl_getenv(const char *name);
DESCRIPTION
curl_getenv() is a portable wrapper for the getenv() function, meant to emulate its behaviour and provide an identical interface for all
operating systems libcurl builds on (including win32).
AVAILABILITY
This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only,
and then as curlx_getenv().
RETURN VALUE
If successful, curl_getenv() returns a pointer to the value of the specified environment. The memory it refers to is malloc()ed so the
application must free() this when the data is no longer needed. When curl_getenv(3) fails to find the specified name, it returns a null
pointer.
NOTE
Under unix operating systems, there isn't any point in returning an allocated memory, although other systems won't work properly if this
isn't done. The unix implementation thus has to suffer slightly from the drawbacks of other systems.
SEE ALSO
getenv(3C),
libcurl 7.12 30 April 2004 curl_getenv(3)