10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi folks
I have a script I wrote that basically parses a bunch of config and xml files works out were to add in the new content then spits out the data into a new file.
It all works - apart from the xml and config file format in the new file
with XML files the original XML (that ends up in... (2 Replies)
Discussion started by: dfinch
2 Replies
2. UNIX for Advanced & Expert Users
I need to be able to move data around a disk that has mounted partitions. I am not touching the data on the mounted partition, the MBR or any other disk metadata, only the freespace and unmounted partitions. At the moment I am using libparted but it causes data corruption sometimes although there... (1 Reply)
Discussion started by: vstrom
1 Replies
3. Shell Programming and Scripting
Hi,
I have a data file with :
01/28/2012,1,1,98995
01/28/2012,1,2,7195
01/29/2012,1,1,98995
01/29/2012,1,2,7195
01/30/2012,1,1,98896
01/30/2012,1,2,7083
01/31/2012,1,1,98896
01/31/2012,1,2,7083
02/01/2012,1,1,98896
02/01/2012,1,2,7083
02/02/2012,1,1,98899
02/02/2012,1,2,7083
I... (1 Reply)
Discussion started by: himanish
1 Replies
4. Shell Programming and Scripting
Hello everyone!
i hope u can help me...
i need a script that is able to do:
When a user gets deleted in the ldap DB, the mail folder remains.
How can i move to another location and delete it after a month?
:wall: (2 Replies)
Discussion started by: newbreaker12
2 Replies
5. Shell Programming and Scripting
Hi All,
I was wondering how I can convert each line in an input file where fields are separated by variable width spaces into a CSV file. Below is the scenario what I am looking for.
My Input data in inputfile.txt
19 15657 15685 Sr2dReader 107.88 105.51... (4 Replies)
Discussion started by: vharsha
4 Replies
6. AIX
Hi All,
I have a requirement to move a large amount of data *approx 160 GB* from a windows formatted SAN to AIX.
The data is made up of several hundred thousand small files.
Does anyone have a recommendation for the best tool or best procedure for this?
Regards,
Neil (2 Replies)
Discussion started by: stewartna77
2 Replies
7. Shell Programming and Scripting
My input file:
data_5 Ali 422 2.00E-45 102/253 140/253 24
data_3 Abu 202 60.00E-45 12/23 140/23 28
data_1 Ahmad 256 7.00E-45 120/235 140/235 22
data_4 Aman 365 8.00E-45 15/65 140/65 20
data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies
8. UNIX for Dummies Questions & Answers
Hi,
i willbe very much grateful to u if u help me out..
if i simply connect pbx machine to printer by serial port RS232 then we find this view:
But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe... (1 Reply)
Discussion started by: boss
1 Replies
9. Shell Programming and Scripting
Hi:
I am very new in UNIX environment.
I need big help.
How I can move data files from a server to UNIX folder by script.
I don't want to use ws-ftp.
The script should check the file on server, if any file found, move it to UNIX folder.
I will be very happy, if some one helps me out.... (1 Reply)
Discussion started by: shah2
1 Replies
10. Shell Programming and Scripting
Hi all,
I have a file with several columns of data, eg:
A B C D
1 2 5 1
2 2 2 2
8 4 4 4
4 2 3 4
10 9 4 4
9 7 1 2
I need to get the values from, say, column B and place them into a string separated by a semicolon, eg:
2;2;4;2;9;7
Does... (4 Replies)
Discussion started by: danhodges99
4 Replies
GELF_GETMOVE(3) BSD Library Functions Manual GELF_GETMOVE(3)
NAME
gelf_getmove, gelf_update_move -- read and update Elf Move information
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <gelf.h>
GElf_Move *
gelf_getmove(Elf_Data *data, int ndx, GElf_Move *move);
int
gelf_update_move(Elf_Data *data, int ndx, GElf_Move *move);
DESCRIPTION
These convenience functions are used to retrieve and update class-dependent Elf32_Move and Elf64_Move structures in an ELF object.
Argument data is an Elf_Data descriptor associated with a section of type SHT_SUNW_move. Argument ndx is the index of the move record being
retrieved or updated. The class-independent GElf_Move structure is described in gelf(3).
Function gelf_getmove() retrieves class-dependent move record at index ndx in data buffer data and copies it to the destination pointed to by
argument move after translation to class-independent form.
Function gelf_update_move() converts the class-independent move information pointed to by argument move to class-dependent form, and writes
it to the move record at index ndx in the data buffer described by argument data. Function gelf_update_move() signals an error if any of the
values in the class-independent representation exceeds the representable limits of the target type.
RETURN VALUES
Function gelf_getmove() returns the value of argument move if successful, or NULL in case of an error. Function gelf_update_move() returns a
non-zero value if successful, or zero in case of an error.
ERRORS
These functions may fail with the following errors:
[ELF_E_ARGUMENT] Arguments data or move were NULL.
[ELF_E_ARGUMENT] Argument ndx was less than zero or larger than the number of records in the data descriptor.
[ELF_E_ARGUMENT] Data descriptor data was not associated with a section containing move information.
[ELF_E_RANGE] A value was not representable in the target type.
SEE ALSO
elf(3), elf_getdata(3), elf_getscn(3), gelf(3)
BSD
August 29, 2006 BSD