12-07-2010
what OS and version of vi?
7 More Discussions You Might Find Interesting
1. HP-UX
Can someone tell me the right or exact syntax to check if the large file options is set on a filesystem
Thanks! (2 Replies)
Discussion started by: catwomen
2 Replies
2. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
3. Shell Programming and Scripting
I'm a beginner in shell scripting (I'm using ksh). I'm manipulating some files and I'm using set -A to transform each read line into a numeric array.
However, inside the 'for' loop the options of set (ie '-A') are not recognized (the vi editor doesn't highlight it and it doesn't work).
Where... (4 Replies)
Discussion started by: kasumlolla
4 Replies
4. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
5. Ubuntu
Hello Everyone,
First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you !
I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies
6. Shell Programming and Scripting
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
7. HP-UX
Hi Experts,
Need your help in understanding the commands to setup the environment variables in hp-ux.
Beleive need to use either set,setenv or export.
I am confused between above three options, when to use which option?
On command line, I have tried both set and setenv but couldn't... (7 Replies)
Discussion started by: userexperience
7 Replies
LEARN ABOUT NETBSD
elf_version
ELF_VERSION(3) BSD Library Functions Manual ELF_VERSION(3)
NAME
elf_version -- retrieve or set ELF library operating version
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
unsigned int
elf_version(unsigned int version);
DESCRIPTION
The elf_version() function is used to query the current operating version of the ELF library, and to inform the ELF library about the appli-
cation's desired operating version.
If the argument version is EV_NONE, the elf_version() function returns the currently configured operating version for the ELF library.
If the argument version is not EV_NONE, and if argument version is supported by the ELF library, function elf_version() sets the library's
operating version to version, and returns the previous value of the operating version. If argument version cannot be supported, then the
elf_version() function returns EV_NONE.
RETURN VALUES
The elf_version() function returns the currently configured ELF library version, or EV_NONE if an unsupported version is requested.
EXAMPLES
An application program would inform the ELF library about its desired operating version and check for an error using the following code snip-
pet:
if (elf_version(EV_CURRENT) == EV_NONE)
err(EX_SOFTWARE, "ELF library too old");
ERRORS
Function elf_version() may fail with the following error:
[ELF_E_VERSION] An unsupported library version number was requested.
SEE ALSO
elf(3), gelf(3)
BSD
June 1, 2006 BSD