10-23-2008
The real rationale behind the -q option is to be more efficient - it stops searching on the first hit. It's there to say 'Hey this pattern is/is not in the file' with the least overhead.
8 More Discussions You Might Find Interesting
1. Solaris
Hi,
Can anybody help me out with the unix command for watermark.
i am using solaris 9. I have installed CUPS software. Printer driver supports watermark.
I would like to know the watermark option for text,font and fontsize.
lpr -P printername -o ________________ filename.
please help... (1 Reply)
Discussion started by: meeraramanathan
1 Replies
2. Shell Programming and Scripting
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Discussion started by: DILEEP410
2 Replies
3. Shell Programming and Scripting
Hello , I have several hundered PDF Files in which 20% seemes to be corrupt. Is it possible to create a Perl Script which uses a PDF Perl Module which open and closes a PDF File and reports the status(Health) if the file is corrupted or not.
best regards from
sdohn (1 Reply)
Discussion started by: sdohn
1 Replies
4. Shell Programming and Scripting
In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ?
#!/bin/bash
# NAME: pdflinkextractor
# AUTHOR: Glutanimate (http://askubuntu.com/users/81372/), 2013
#... (1 Reply)
Discussion started by: danielldf
1 Replies
5. Shell Programming and Scripting
Does anybody have idea of Converting secured pdf files to pdf using acroread ?
---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ----------
This file is not password protected. (4 Replies)
Discussion started by: Soham
4 Replies
6. Shell Programming and Scripting
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
7. Shell Programming and Scripting
Hi ,
i need your advice.
i will find all *.pdf files and make a folder for every different prefix of file names.
for example:
test_21424234.pdf
new_242342.pdf
at the and i will that i create ( if not exits ) a new folder "test" and "new" , afterwards i will move the file in this new... (3 Replies)
Discussion started by: Maxwill
3 Replies
8. UNIX for Advanced & Expert Users
I'm using this code to watermark images (add a logo). How do I change the size of the watermark to cover a certain percentage of the image
ffmpeg -i folder/s886_01.jpg -i watermark.png -filter_complex overlay=15:15 output.png (2 Replies)
Discussion started by: locoroco
2 Replies
LEARN ABOUT OPENSOLARIS
dat_srq_set_lw
dat_srq_set_lw(3DAT) Direct Access Transport Library Functions dat_srq_set_lw(3DAT)
NAME
dat_srq_set_lw - set low watermark on shared receive queue
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
DAT_RETURN
dat_srq_set_lw (
IN DAT_SRQ_HANDLE srq_handle,
IN DAT_COUNT low_watermark
)
PARAMETERS
srq_handle A handle for an instance of a Shared Receive Queue.
low_watermark The low watermark for the number of Recv buffers on SRQ.
DESCRIPTION
The dat_srq_set_lw() function sets the low watermark value for the SRQ and arms the SRQ for generating an asynchronous event for the low
watermark. An asynchronous event will be generated when the number of buffers on the SRQ is below the low watermark for the first time.
This can occur during the current call or when an associated EP takes a buffer from the SRQ.
The asynchronous event will be generated only once per setting of the low watermark. Once an event is generated, no new asynchronous events
for the number of buffers inthe SRQ below the specified value will be generated until the SRQ is again set for the Low Watermark. If the
Consumer is again interested in the event, the Consumer should set the low watermark again.
RETURN VALUES
DAT_SUCCESS The operation was successful.
DAT_INVALID_HANDLE The srq_handle argument is an invalid DAT handle.
DAT_INVALID_PARAMETER Invalid parameter; the value of low_watermark is exceeds the value of max_recv_dtos.
DAT_MODEL_NOT_SUPPORTED The requested Model was not supported by the Provider. The Provider does not support SRQ Low Watermark.
USAGE
Upon receiving the asynchronous event for the SRQ low watermark, the Consumer can replenish Recv buffers on the SRQ or take any other
action that is appropriate.
Regardless of whether an asynchronous event for the low watermark has been generated, this operation will set the generation of an asyn-
chronous event with the Consumer-provided low watermark value. If the new low watermark value is below the current number of free Receive
DTOs posted to the SRQ, an asynchronous event will be generated immediately. Otherwise the old low watermark value is simply replaced with
the new one.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
dat_srq_create(3DAT), dat_srq_free(3DAT), dat_srq_post_recv(3DAT), dat_srq_query(3DAT), dat_srq_resize(3DAT), libdat(3LIB), attributes(5)
SunOS 5.11 16 Jul 2004 dat_srq_set_lw(3DAT)