02-10-2011
That was good advice and I really appreciate it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
I guess the subject asks it all, but I am wondering (before I go and code a COBOL module) if conversion of regular ASCII data to COMP-3 is possible on a UNIX environment (AIX 5.1)? Any help would be appreciated! Thanks, Dave (13 Replies)
Discussion started by: dfran1972
13 Replies
3. Shell Programming and Scripting
Hello,
I have done some BASIC shell scripting/PERL scripting before so I am familiar with the languages. I am not really sure which one would lend itself better to the application I have to write.
I am required to scan the message logs for possible break in attempts. If I use shell scripting... (3 Replies)
Discussion started by: mojoman
3 Replies
4. Shell Programming and Scripting
Hi,
I need sample code to compare the two files line by line which contains text strings and to print the difference in the third file.
Thanks in advance (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
5. Shell Programming and Scripting
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies
6. Shell Programming and Scripting
Hi,
I have general question: i have good working Perl script with .pl extension, and now I have to migrate all to another Linux box, and I was told that I can use only shell scripting, so I'm not sure how different those two things are, will it work without any changes . Is there anything smart I... (6 Replies)
Discussion started by: trento17
6 Replies
7. What is on Your Mind?
Hi all,
I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first.
Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies
8. Shell Programming and Scripting
Hai ! I am doing a research on Bioinformatics and a part of the code in perl have to be converted to shell scripting. I am new to shell programming. Pls. kindly help me to convert this code to shell script though it is somewhat lengthy.
PLS KINDLY HELP ME. THANKS IN ADVANCE.
my @FreeEnergy =... (1 Reply)
Discussion started by: kswapnadevi
1 Replies
9. Android
I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies
10. Web Development
i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
LEARN ABOUT HPUX
posix_fadvise64
posix_fadvise(2) System Calls Manual posix_fadvise(2)
NAME
posix_fadvise(), posix_fadvise64() - file advisory information
SYNOPSIS
Parameters
fd The open file descriptor to which the fadvise operation applies.
offset The begining of the specified range as a positive, byte offset.
len The length of the specified range in bytes.
advice Specifies advice to be applied to range.
DESCRIPTION
The function is used to advise the system about the expected behavior of the application with respect to the data in the file associated
with the open file descriptor, fd, starting at offset and continuing for len bytes. The specified range need not currently exist in the
file. If len is zero, all data following offset is specified.
It should be noted that the effect of all hints is cumulative for a given file object. All hints will be removed on processing the last
close of the file object.
The function may be used for large file access by a 32-bit application built with set to 64.
The advice parameter is used to convey the hint to be applied to the data and may be one of the following values:
Specifies that the application has no advice to give on its behavior with respect to the specified data. It is the default characteristic
if no advice is given for an open file.
Specifies that the application expects to access the specified range of data
sequentially from the lower offsets to higher offsets.
Specifies that the application will expect to access the specified
specified range of data in a random order.
Specifies that the application will expect to access the specified
range of data in the near future.
Specifies that the application will expect that it will not
access the specified range of data in the near future.
Specifies that the application will expect to access the specified range
of data once and then not reuse it thereafter.
These values will be defined in
RETURN VALUE
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If the service fails, is set to one of the following values:
The fd argument is not a valid file descriptor.
The fd argument is associated with a pipe or FIFO.
The posix_fadvise operation is not supported by the underlying file system.
The value of advice or one of the other input values has been found to be invalid.
A designated hint is not supported by the underlying file object.
EXAMPLES
AUTHOR
was derived by HP from the IEEE POSIX 1003.1-2001 Standard.
SEE ALSO
fadvise(2), fcntl(2), fadvise(5), fcntl(5).
STANDARDS CONFORMANCE
posix_fadvise(2)