02-19-2013
Solved the problem by working on a Linux machine
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i am a unix-super-beginner (swaddled and weaned on windows) and am trying to import a database from a unix directory into winnt. can someone help me or am i a hopeless case? (4 Replies)
Discussion started by: sadiecutie
4 Replies
2. UNIX for Dummies Questions & Answers
My development team has been trying to figure out how to import a unix data dump into SQL Server or convert it into an intermediate file format for several days.
The data dump in question looks like this:
$RecordID: 1<eof>
$Version: 1<eof>
Category: 1<eof>
Poster: John Doe<eof>... (7 Replies)
Discussion started by: DaltonF
7 Replies
3. UNIX for Advanced & Expert Users
what is a flat file in unix?
i have to import a unix flat files from windows based programme.
my question is not to export from unix but only to import from windows only.
how to build that flat files?
how to create export to windows
how to import from windows (3 Replies)
Discussion started by: tunirayavarapu
3 Replies
4. Shell Programming and Scripting
Hi everyone
I am very new at awk and to me the task I need to get done is very very challenging... Nevertheless, after admiring how fast and elegant issues are being solved here I am sure this is my best chance.
I have a 2D data file (input file is a plain tab-delimited text file). The first... (1 Reply)
Discussion started by: stonemonkey
1 Replies
5. Shell Programming and Scripting
Input_file
data1 USA 100 ASE
data3 UK 20 GWQR
data4 Brazil 40 QWE
data2 Scotland 60 THWE
data5 USA 40 QWERR
Reference_file
USA 12312 34532
1324 Brazil 23321
231 3421 Scotland
342 34235 UK
231 141 England... (1 Reply)
Discussion started by: patrick87
1 Replies
6. Shell Programming and Scripting
Input file (long list of input file):
s_1_1_AABCD.txt
s_1_1_ABADA.txt
s_1_1_DSCBA.txt
s_1_1_DSCCA.txt
s_1_1_EATTG.txt
s_1_1_FADSD.txt
s_1_1_TGACC.txt
s_1_1_TTAGG.txt
s_1_2_AABCD.txt
s_1_2_ABADA.txt
s_1_2_DSCBA.txt
s_1_2_DSCCA.txt
s_1_2_EATTG.txt
s_1_2_FADSD.txt ... (1 Reply)
Discussion started by: perl_beginner
1 Replies
7. UNIX for Advanced & Expert Users
Dear All,
I am facing a problem and I would be Thankful if you can help
Hope this is the right place to ask this question
I have two matrices of (row=10, col=3) and I want to get the cosine similarity between two lines (vectors) of each file --> the result should be (10,1) of cosine measures
I... (10 Replies)
Discussion started by: A-V
10 Replies
LEARN ABOUT CENTOS
acl_create_entry
ACL_CREATE_ENTRY(3) BSD Library Functions Manual ACL_CREATE_ENTRY(3)
NAME
acl_create_entry -- create a new ACL entry
LIBRARY
Linux Access Control Lists library (libacl, -lacl).
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_create_entry(acl_t *acl_p, acl_entry_t *entry_p);
DESCRIPTION
The acl_create_entry() function creates a new ACL entry in the ACL pointed to by the contents of the pointer argument acl_p. On success, the
function returns a descriptor for the new ACL entry via entry_p.
This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by
calling acl_free(3) with (void*)*acl_p as an argument. If the ACL working storage cannot be increased in the current location, then the
working storage for the ACL pointed to by acl_p may be relocated and the previous working storage is released. A pointer to the new working
storage is returned via acl_p.
The components of the new ACL entry are initialized in the following ways: the ACL tag type component contains ACL_UNDEFINED_TAG, the quali-
fier component contains ACL_UNDEFINED_ID, and the set of permissions has no permissions enabled. Any existing ACL entry descriptors that
refer to entries in the ACL continue to refer to those entries.
RETURN VALUE
The acl_create_entry() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
If any of the following conditions occur, the acl_create_entry() function returns -1 and sets errno to the corresponding value:
[EINVAL] The argument acl_p is not a valid pointer to an ACL.
[ENOMEM] The ACL working storage requires more memory than is allowed by the hardware or system-imposed memory management con-
straints.
STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned)
SEE ALSO
acl_init(3), acl_delete_entry(3), acl_free(3), acl_create_entry(3), acl(5)
AUTHOR
Derived from the FreeBSD manual pages written by Robert N M Watson <rwatson@FreeBSD.org>, and adapted for Linux by Andreas Gruenbacher
<a.gruenbacher@bestbits.at>.
Linux ACL March 23, 2002 Linux ACL