10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Simple question: how to package from source in hpux?
On Linux slackware i Use configure,make,make install DESTDIR=$pkg,etc..
and then makepkg -l y -c n.
Is possible something similar on hpux?
I want to create a depot for samba because,the official
doesn't had the winbind pam,and the package on... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
2. Shell Programming and Scripting
So this is kind of an odd question. Our school uses a very complicated management suite for student schedules. I wanted a way to look up a students schedule from a CSV without having to load it up in numbers/excel. I wrote a script to do that, but I want to be able to distribute this without... (0 Replies)
Discussion started by: nextyoyoma
0 Replies
3. Shell Programming and Scripting
Hello everyone, I got a small question.
Can I ask if there is any way to shorten the codes at the bottom cuz it looks abit messy.
My Text file contain.. With ":" as a delimiter
Little Prince:The Prince:15.00:188:9
Lord of The Ring:Johnny Dept:56.80:100:38
At the end of the day... (6 Replies)
Discussion started by: aLHaNz
6 Replies
4. AIX
Hi All,
I'm trying to send extended ascii characters to my HP2055 as part of PCL printer control codes. What I want to do is select a bar code font, print the bar code and reset the printer to the default font.
Selecting the bar code font works good. Printing the bar code goes almost ok too. ... (5 Replies)
Discussion started by: petervg
5 Replies
5. Homework & Coursework Questions
Dear All,
I python program which print "Hello World".
I want to run this program in 100 system.
I dont want to copy and run this script. I want to make .deb package which is easy to install by gui double click itself.
Is this possible ?, If yes, how to do.
PS: I am not using glade... (1 Reply)
Discussion started by: kiranpulsar2007
1 Replies
6. Programming
Hi Folks,
i got the following Problem: I want to make an analysis on a pcap file. (diestance between different packets and so on) The difficulty now... it's not a simple Ethernet/ IP/ File, but it's a SS7 file.
There are the Layers MTP2 MTP3 and ISUP. My analysis depends on the ISUP Layer.
Now... (0 Replies)
Discussion started by: thisismyname
0 Replies
7. UNIX for Dummies Questions & Answers
Hai friends,
I have used the dpkg command to install the package.
This package is created my me. This has only one "C" file.
I checked my module status by "lintian" command as a root.
When I execute the command it gives me following messages... (0 Replies)
Discussion started by: Nila
0 Replies
8. Shell Programming and Scripting
I wrote a sh program with many options and lot of cool stuff and I will to learn how to package it. So ppl could downlaod it and use it just like ls cp ..
So if I have BUX.sh
ppl could type
BUX -r-r
on the command line and it just work
or I could have
BUM man
Also I like to offer them... (4 Replies)
Discussion started by: just_linux
4 Replies
9. Red Hat
Hi,
I need to create an RPM package for my java application.
Already build package for that application avail;able.
I need to create binary RPM package for my java application.
For that in spec file, do I need to write any script kind of thing to install my package.
any one have idea... (1 Reply)
Discussion started by: ram.sj
1 Replies
10. UNIX for Dummies Questions & Answers
Hi
Could somebody explain what Sun Packaging is
What are its uses
How to package and things like that
I would appreciate if u could give me
some study materials or a url where
I could get more details on that
Thanks in advance
Ram (1 Reply)
Discussion started by: ramukmar
1 Replies
delproplist(3) Library Functions Manual delproplist(3)
NAME
delproplist, fdelproplist - Removes Extended File Attributes from a file
SYNOPSIS
#include <sys/proplist.h> int delproplist ( char *path, int follow, struct proplistname_args *args ); int fdelproplist (
int fd, struct proplistname_args *args );
PARAMETERS
Points to a file whose Extended File Attributes are to be removed from its Property List.
If non-zero, specifies that if the last component in *path is a symbolic link, then the link should be traversed.
Points to the proplistname_args structure, defined in sys/proplist.h, that contains the following members: pl_mask
Contains system-wide Extended File Attributes.
Note that if you are deleting all the Extended File Attributes of a file, pl_mask must equal PLE_FLAG_ALL defined in sys/proplist.h.
Also, if you are deleting Extended File Attribute flags that match certain system-wide Extended File Attributes, the value of
pl_mask should be formed by ORing the desired values of the system-wide Extended File Attributes. pl_numnames
Contains the number of Extended File Attributes names held in the names array, pl_names.
pl_names
Contains a counted array of Extended File Attribute names.
Note that the Extended File Attribute names are null terminated ASCII strings and that the last element of the array must be a null
pointer. Also, a null array pointer indicates all Extended File Attributes.
Specifies a file descriptor that points to a file whose Extended File Attributes are to be removed from its Property List. This
parameter is used with the fdelproplist function.
DESCRIPTION
The delproplist function removes one or more Extended File Attributes, whose names are specified in the structure pointed to by *args, from
the Property List of the file pointed to by *path. An Extended File Attribute is a name and value pair that is contained in a variable-
sized structure called a Property List. A Property List is part of a file's metadata and can contain abstract name and value pairs
(Extended File Attributes) that can be set either by the operating system (for example, ACLs and privileges) or by a user-level application
(for example, PC File Attributes). Note that if you specify a non-existent Extended File Attribute name, the function will return success-
fully.
The fdelproplist function behaves the same as delproplist, except that it operates on a file descriptor rather than a pointer to a file.
RESTRICTIONS
If a system failure occurs when the Extended File Attributes are being removed from disk, one of the three following conditions may apply
to each Extended File Attribute, since there are no ordering guarantees when several Extended File Attributes are being updated: The
Extended File Attribute was not removed from the disk. The Extended File Attribute was removed from the disk.
EXAMPLES
#include <sys/proplist.h> main() { char *ptr, *buf, *name, *value; int *value_len, *flags, buffer_size, min_buffer_size, ret, nbytes; struct pro-
plistname_args entry_names; static char *names[] = { "primary_name", "secondary_name", "" };
.
.
.
/*
* Delete the property list entries
*/ if (delproplist("/tmp/foo", 1, entry_names)) perror("delproplist"); free(buf); }
RETURN VALUES
If successful, zero is returned, the specified Extended File Attribute is deleted from disk, and the change time of the file pointed to by
*path is marked for update.
If unsuccessful, the integer -1 is returned and errno is set to indicate the error.
ERRORS
In addition to errors associated with open(2), the function will fail if: Search permission was denied for a directory in *path.
The calling program was not the owner of the file and the process does not have the appropriate system privilige. A problem was
encountered with the Extended File Attribute name. A problem was encountered with the Extended File Attribute name. There was an
error reading or writing some portion of the Property List. The Extended File Attribute could not be associated with the file
pointed to by *path. The calling program did not have the appropriate system privilige to access the requested Extended File
Attribute, for example, DEC_AUDIT_PROPLISTFLAG. The file system is mounted read-only.
RELATED INFORMATION
Functions: open(2), add_proplist_entry(3), delproplist(3), fdelproplist(3), fgetproplist(3), fsetproplist(3), get_proplist_entry(3), get-
proplist(3), setproplist(3), sizeof_proplist_entry(3).
Files: proplist(4), sys/proplist.h.
delim off
delproplist(3)